Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
I54da8605f5e9e5f405c145b78865402baf78eee7
Description
It would be nice to describe the purpose of the stretch:
http://doc.qt.nokia.com/qsizepolicy.html#setVerticalStretch
http://doc.qt.nokia.com/4.7/qsizepolicy.html#setHorizontalStretch
E.g. When two widgets are sitting next to each other in a horizontal layout, you can set Horizontal Stretch of the left one to 2 and Horizontal Stretch of the right one to 1 to make the widget on the left always twice the size of the one on the right.
Attachments
For Gerrit Dashboard: QTBUG-18373 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
31499,1 | Describe an example usage of stretch in QSizePolicy documentation. | master | qt/qtbase | Status: MERGED | +2 | 0 |