diff options
| author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2010-08-04 12:48:20 (GMT) |
|---|---|---|
| committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2010-09-02 12:37:16 (GMT) |
| commit | ce01dab25d4713c0a48f8604ed82ef43efc4f04d (patch) | |
| tree | 56097af88fc9d4f2763bf38e153cb453934be5fd /doc/src/snippets/code | |
| parent | 99fde91e08cd20410c8161e79295a029abbff53f (diff) | |
| download | Qt-ce01dab25d4713c0a48f8604ed82ef43efc4f04d.zip Qt-ce01dab25d4713c0a48f8604ed82ef43efc4f04d.tar.gz Qt-ce01dab25d4713c0a48f8604ed82ef43efc4f04d.tar.bz2 | |
Use hasHeightForWidth() and hasWidthForHeight() instead of sizePolicy()
hasHeightForWidth() already does the same check (if the widget has a
layout, use the layouts size policy instead of the widgets').
Also generalized the implementation so that it now supports
width-for-height.
Also fixed a bug where we expected the other dimension to decrease when
the first dimension increased. This is not always the case.
Diffstat (limited to 'doc/src/snippets/code')
0 files changed, 0 insertions, 0 deletions
