summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-11-13 17:17:32 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-11-13 17:17:32 (GMT)
commitbb818bf70cef00bbdcafaac1bf017575baeab8dc (patch)
tree400bc682cbdaca1bf1e47b8e975d45b54b23a8a9 /examples
parent9988c5af44003ec49a2a0747ae8f1b3a565642ac (diff)
downloadQt-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')
-rw-r--r--examples/graphicsview/anchorlayout/main.cpp4
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);