Layout problems
-
wrote on 13 Sept 2024, 17:46 last edited by
I would like to create a dialog that contains a QTextEdit.
I would like that text edit to be 3 text lines high to start but it should expand if the user expands the dialog.
I think I want to set the "preferred height". I don't see any API for this. How do I do this?
My dialog always computes its size so that the text edit is about 10 lines high. The text edit is the only thing in my dialog that can be dynamically sized.
Thanks,
Chris
1/1