diff options
-rw-r--r-- | examples/quick/controls/gallery/content/ChildWindow.qml | 6 | ||||
-rw-r--r-- | src/controls/Label.qml | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/examples/quick/controls/gallery/content/ChildWindow.qml b/examples/quick/controls/gallery/content/ChildWindow.qml index 21f2489a8..a645e4766 100644 --- a/examples/quick/controls/gallery/content/ChildWindow.qml +++ b/examples/quick/controls/gallery/content/ChildWindow.qml @@ -59,7 +59,7 @@ Window { color: syspal.window anchors.fill: parent - Text { + Label { id: dimensionsText anchors.horizontalCenter: parent.horizontalCenter anchors.top: parent.top @@ -67,7 +67,7 @@ Window { horizontalAlignment: Text.AlignHCenter } - Text { + Label { id: availableDimensionsText anchors.horizontalCenter: parent.horizontalCenter anchors.top: dimensionsText.bottom @@ -75,7 +75,7 @@ Window { horizontalAlignment: Text.AlignHCenter } - Text { + Label { id: closeText anchors.horizontalCenter: parent.horizontalCenter anchors.top: availableDimensionsText.bottom diff --git a/src/controls/Label.qml b/src/controls/Label.qml index 01f2a1629..8a1020111 100644 --- a/src/controls/Label.qml +++ b/src/controls/Label.qml @@ -88,4 +88,6 @@ Text { id: pal colorGroup: enabled ? SystemPalette.Active : SystemPalette.Disabled } + Accessible.name: text + Accessible.role: Accessible.StaticText } |