diff options
author | Alessandro Portale <alessandro.portale@digia.com> | 2014-11-17 09:08:06 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@digia.com> | 2014-11-17 09:21:18 +0100 |
commit | c95839df235cbc8adc40749887dea23a8314996a (patch) | |
tree | 5e7463eb63568a3a128436f19c103021dabdb2d4 /share | |
parent | 5a351eaa50fd20dbfbf6c4cb093bab1ac2e71546 (diff) | |
download | qt-creator-c95839df235cbc8adc40749887dea23a8314996a.tar.gz |
Qt Quick App wizards: Use Label instead of Text
Label respects the system palette, while Text does not.
Task-number: QTCREATORBUG-13189
Change-Id: Ife1796cd04216eef909820f85dfdfd9c403ae80f
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Diffstat (limited to 'share')
3 files changed, 3 insertions, 3 deletions
diff --git a/share/qtcreator/templates/qtquick/qtquickcontrols_1_0/main.qml b/share/qtcreator/templates/qtquick/qtquickcontrols_1_0/main.qml index bece7d88e9..3498b9459c 100644 --- a/share/qtcreator/templates/qtquick/qtquickcontrols_1_0/main.qml +++ b/share/qtcreator/templates/qtquick/qtquickcontrols_1_0/main.qml @@ -21,7 +21,7 @@ ApplicationWindow { } } - Text { + Label { text: qsTr("Hello World") anchors.centerIn: parent } diff --git a/share/qtcreator/templates/qtquick/qtquickcontrols_1_1/main.qml b/share/qtcreator/templates/qtquick/qtquickcontrols_1_1/main.qml index cd9583c14d..57bd8901ef 100644 --- a/share/qtcreator/templates/qtquick/qtquickcontrols_1_1/main.qml +++ b/share/qtcreator/templates/qtquick/qtquickcontrols_1_1/main.qml @@ -21,7 +21,7 @@ ApplicationWindow { } } - Text { + Label { text: qsTr("Hello World") anchors.centerIn: parent } diff --git a/share/qtcreator/templates/qtquick/qtquickcontrols_1_2/main.qml b/share/qtcreator/templates/qtquick/qtquickcontrols_1_2/main.qml index cc2db21d98..5c7e2a7392 100644 --- a/share/qtcreator/templates/qtquick/qtquickcontrols_1_2/main.qml +++ b/share/qtcreator/templates/qtquick/qtquickcontrols_1_2/main.qml @@ -21,7 +21,7 @@ ApplicationWindow { } } - Text { + Label { text: qsTr("Hello World") anchors.centerIn: parent } |