Qt 6.11 is out! See what's new in the release
blog
TextEdit appearance
-
So we have QLineEdit in Widgets were you can see how big it is with the white background like this:

Now I thought to have a similar item like LineEdit I use TextEdit. But it shows up without borders:

Do I have to put it in a white rectangle to get the dame effect or am I missing something / using the wrong tyṕe?
-
@sandro4912 said in TextEdit appearance:
am I missing something / using the wrong tyṕe?
Yes,
TextEditis the low level component for multiline text input, it doesn't have any decoration. UseTextAreainstead.For single line text input,
TextFieldis based onTextInput. -
I now used TextField which then looks similar to QLineEdit.