summaryrefslogtreecommitdiffstats
path: root/tests/auto/qregion
diff options
context:
space:
mode:
authorJohn Tapsell <john.tapsell.ext@basyskom.de>2011-11-07 16:07:27 (GMT)
committerJan-Arve Saether <jan-arve.saether@nokia.com>2011-11-08 12:53:10 (GMT)
commit546efb2cdb64e968e3376a2d426e653e4da4f5d2 (patch)
treea05e50b099640cac88a7141a190945e4a13dc437 /tests/auto/qregion
parent6968b3fe1354c289767b2b21bc723bb5fd1576ae (diff)
downloadQt-546efb2cdb64e968e3376a2d426e653e4da4f5d2.zip
Qt-546efb2cdb64e968e3376a2d426e653e4da4f5d2.tar.gz
Qt-546efb2cdb64e968e3376a2d426e653e4da4f5d2.tar.bz2
QGraphicsLayoutItem - bound constraint the minimum and maximum size
The scenario was this: If you had a height for width item, and that item had a maximum width of 50. If you called item->effectiveSizeHint(Qt::PreferredSize, QSizeF(100,-1)); it would return (100, ?), thus violating its own maximum width. Merge-request: 1423 Reviewed-by: Jan-Arve Saether <jan-arve.saether@nokia.com>
Diffstat (limited to 'tests/auto/qregion')
0 files changed, 0 insertions, 0 deletions