kiker99
9th June 2007, 23:05
Hallo,
To reproduce: create a QDialog, for example in Qt Designer, and put a Wordwrap-activated label and a button below it, and set a vertical layout for the dialog. Set the label to some text that the text gets splitted into more than one line. (it's enough if it's long enough to be splitted before the dialog reaches it's minimum size in normal layout mode)
If you then open preview mode, you'll notice that the dialog can be resized up to 0,0. This isn't normal behaviour - test it without wordwrap oder a short text in the label.
I've tested this in Qt 4.3, 4.2.1 and 4.1.4. Is this a feature? Oo
I really don't like this behaviour. I want my app to always respect the minimumSizeHints set - but also want to use the wordwrap on labels.
btw: behaviour is the same in the real app - not just Qt Designer.
thx,
andre
To reproduce: create a QDialog, for example in Qt Designer, and put a Wordwrap-activated label and a button below it, and set a vertical layout for the dialog. Set the label to some text that the text gets splitted into more than one line. (it's enough if it's long enough to be splitted before the dialog reaches it's minimum size in normal layout mode)
If you then open preview mode, you'll notice that the dialog can be resized up to 0,0. This isn't normal behaviour - test it without wordwrap oder a short text in the label.
I've tested this in Qt 4.3, 4.2.1 and 4.1.4. Is this a feature? Oo
I really don't like this behaviour. I want my app to always respect the minimumSizeHints set - but also want to use the wordwrap on labels.
btw: behaviour is the same in the real app - not just Qt Designer.
thx,
andre