Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
None
-
c3958b592a1d46eb1b536bd09cce1aa919d02635 b855e578044e49b588b32085968c63a910b9daae
Description
I have the following horizontal layout (size hints in curly braces, {min,pref,max})
| - [A:{11,84,84}] - [B{75,75,16777215}] - |
size policy of A: QSizePolicy::Expanding
size policy of B: QSizePolicy::Preferred
When the layout is made wider, only the Expanding item will grow. As soon as the Expanding item has reached its limit, it will distribute space between the items instead of growing item B.
This causes things to break such as QTBUG-25801, because other code paths of the layouts system expects that all expanding or growing items will grow to their fullest.
Attachments
Issue Links
- resulted from
-
QTBUG-25801 QGridLayout does not allocate sufficient space to all widgets if it has one widget with setMaximumWidth property.
- Closed