diff options
Diffstat (limited to 'examples/declarative/flowview/flowview.qml')
-rw-r--r-- | examples/declarative/flowview/flowview.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/flowview/flowview.qml b/examples/declarative/flowview/flowview.qml index 77b3230..99f5c1e 100644 --- a/examples/declarative/flowview/flowview.qml +++ b/examples/declarative/flowview/flowview.qml @@ -8,7 +8,7 @@ Rect { Rect { id: MyPhone transformOrigin: "Center" - anchors.centeredIn: parent + anchors.centerIn: parent width: 800 height: 480 clip: true @@ -45,7 +45,7 @@ Rect { delegate: Package { Item { id: List; Package.name: "list"; width:120; height: 400; } Item { id: Grid; Package.name: "grid"; width:400; height: 120; } - Item { id: MyContent; width:400; height: 120; qml: weblet } + Loader { id: MyContent; width:400; height: 120; source: weblet } StateGroup { states: [ |