diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-09-04 13:19:02 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-09-04 13:20:08 (GMT) |
commit | 7aacb8b3ff5c4c998298207b355b9c301d736d34 (patch) | |
tree | a261fb5257271241331d1e0ff22a877826e8fdb4 | |
parent | a56acff4789521a7b6a6439dcb88e6d9ba4b7ada (diff) | |
download | Qt-7aacb8b3ff5c4c998298207b355b9c301d736d34.zip Qt-7aacb8b3ff5c4c998298207b355b9c301d736d34.tar.gz Qt-7aacb8b3ff5c4c998298207b355b9c301d736d34.tar.bz2 |
Make the view in the flowlayout example big enough.
-rw-r--r-- | examples/graphicsview/flowlayout/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/graphicsview/flowlayout/main.cpp b/examples/graphicsview/flowlayout/main.cpp index 206f604..e672ae6 100644 --- a/examples/graphicsview/flowlayout/main.cpp +++ b/examples/graphicsview/flowlayout/main.cpp @@ -50,6 +50,7 @@ int main(int argc, char **argv) QGraphicsView *view = new QGraphicsView(&scene); Window *w = new Window; scene.addItem(w); + view->resize(400, 300); view->show(); return app.exec(); } |