diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-11-13 17:17:32 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-11-13 17:17:32 (GMT) |
commit | bb818bf70cef00bbdcafaac1bf017575baeab8dc (patch) | |
tree | 400bc682cbdaca1bf1e47b8e975d45b54b23a8a9 /examples/graphicsview/anchorlayout | |
parent | 9988c5af44003ec49a2a0747ae8f1b3a565642ac (diff) | |
download | Qt-bb818bf70cef00bbdcafaac1bf017575baeab8dc.zip Qt-bb818bf70cef00bbdcafaac1bf017575baeab8dc.tar.gz Qt-bb818bf70cef00bbdcafaac1bf017575baeab8dc.tar.bz2 |
Make it clear that the two semi-floating widget should overflow.
Diffstat (limited to 'examples/graphicsview/anchorlayout')
-rw-r--r-- | examples/graphicsview/anchorlayout/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graphicsview/anchorlayout/main.cpp b/examples/graphicsview/anchorlayout/main.cpp index 3e19f18..f898d1d 100644 --- a/examples/graphicsview/anchorlayout/main.cpp +++ b/examples/graphicsview/anchorlayout/main.cpp @@ -76,8 +76,8 @@ int main(int argc, char **argv) QGraphicsProxyWidget *c = createItem(minSize, prefSize, maxSize, "C"); QGraphicsProxyWidget *d = createItem(minSize, prefSize, maxSize, "D"); QGraphicsProxyWidget *e = createItem(minSize, prefSize, maxSize, "E"); - QGraphicsProxyWidget *f = createItem(QSizeF(30, 50), QSizeF(150, 50), maxSize, "F"); - QGraphicsProxyWidget *g = createItem(QSizeF(30, 50), QSizeF(30, 100), maxSize, "G"); + QGraphicsProxyWidget *f = createItem(QSizeF(30, 50), QSizeF(150, 50), maxSize, "F (overflow)"); + QGraphicsProxyWidget *g = createItem(QSizeF(30, 50), QSizeF(30, 100), maxSize, "G (overflow)"); QGraphicsAnchorLayout *l = new QGraphicsAnchorLayout; l->setSpacing(0); |