summaryrefslogtreecommitdiffstats
path: root/examples/declarative/layouts/layouts.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/layouts/layouts.qml')
-rw-r--r--examples/declarative/layouts/layouts.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/declarative/layouts/layouts.qml b/examples/declarative/layouts/layouts.qml
index 1d34afd..81f9aed 100644
--- a/examples/declarative/layouts/layouts.qml
+++ b/examples/declarative/layouts/layouts.qml
@@ -1,9 +1,12 @@
import Qt 4.7
import Qt.widgets 4.6
+
Item {
id: resizable
+
width:400
height:400
+
QGraphicsWidget {
size.width:parent.width
size.height:parent.height