From 72d37ca466e2fd63b532053653f6946be853b7d9 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 1 Jul 2016 14:49:34 +0200 Subject: Improve gallery example for Qt Quick Designer The Qt Quick Designer does not support the usage of unqualified properties of the root item. I guess there is no reason to not fully qualify them in examples. Change-Id: I962833bbc051551f2f0518975713c906f343337d Reviewed-by: Thomas Hartmann --- examples/quickcontrols2/gallery/pages/FramePage.qml | 2 +- examples/quickcontrols2/gallery/pages/GroupBoxPage.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/quickcontrols2/gallery/pages/FramePage.qml b/examples/quickcontrols2/gallery/pages/FramePage.qml index 2899f0d0..1979007c 100644 --- a/examples/quickcontrols2/gallery/pages/FramePage.qml +++ b/examples/quickcontrols2/gallery/pages/FramePage.qml @@ -62,7 +62,7 @@ Pane { Column { spacing: 20 - width: itemWidth + width: pane.itemWidth RadioButton { text: "First" diff --git a/examples/quickcontrols2/gallery/pages/GroupBoxPage.qml b/examples/quickcontrols2/gallery/pages/GroupBoxPage.qml index be698796..194c14b4 100644 --- a/examples/quickcontrols2/gallery/pages/GroupBoxPage.qml +++ b/examples/quickcontrols2/gallery/pages/GroupBoxPage.qml @@ -63,7 +63,7 @@ Pane { Column { spacing: 20 - width: itemWidth + width: pane.itemWidth RadioButton { text: "First" -- cgit v1.2.3