aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-07-01 14:49:34 +0200
committerThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-07-01 13:26:34 +0000
commit72d37ca466e2fd63b532053653f6946be853b7d9 (patch)
tree95675df0cf075873823db13e64f4c59e7261e950 /examples
parent0af937e89dfc5a2446a980eae26e964adea8b2b3 (diff)
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 <Thomas.Hartmann@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/gallery/pages/FramePage.qml2
-rw-r--r--examples/quickcontrols2/gallery/pages/GroupBoxPage.qml2
2 files changed, 2 insertions, 2 deletions
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"