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, 2 insertions, 1 deletions
diff --git a/examples/declarative/layouts/layouts.qml b/examples/declarative/layouts/layouts.qml
index 6e22d8b..b54a7f3 100644
--- a/examples/declarative/layouts/layouts.qml
+++ b/examples/declarative/layouts/layouts.qml
@@ -5,7 +5,8 @@ Item { id: resizable
GraphicsObjectContainer{
anchors.fill:parent
QGraphicsWidget{
- geometry:{ "0,0," + parent.width.toString() + "x" + parent.height.toString(); }
+ size.width:parent.width
+ size.height:parent.height
layout: QGraphicsLinearLayout{
LayoutItem{
minimumSize: "100x100"