Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.6.3
-
None
-
Fedora 13
Linux 2.6.34.7-61.fc13.x86_64 #1 SMP Tue Oct 19 04:06:30 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
Description
The sizeHint of the created QLayoutItem in a QLayoutBox is incorrect if the parent widget of the layout is already visible (show has already been called). This in turn causes the sizeHint of the QLayoutBox itself to be invalid. At some point they correct themselves, but if you need the size immediately (as I do) it doesn't work.
No workaround is known.
The attached code demonstrates the issue (compare with/without the "show" line).
Attachments
Issue Links
- relates to
-
QTBUG-43617 sizeHint() of QDialogButtonBox changes with first button added but not of enclosing layout
- Closed