summaryrefslogtreecommitdiff
path: root/src/controls/Label.qml
diff options
context:
space:
mode:
authorRuslan Nigmatullin <euroelessar@yandex.ru>2014-03-12 22:58:16 +0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-13 12:29:28 +0100
commit9f5d2093cb53fb5c322ebf8c319db520ae043eb9 (patch)
treeebb69ae367597f3b106cc38aec4796bf53b2a906 /src/controls/Label.qml
parent4569ed127c290bea8d165e15dc2eca525825c627 (diff)
downloadqtquickcontrols-9f5d2093cb53fb5c322ebf8c319db520ae043eb9.tar.gz
Label should use SystemPalette.windowText
In themes with inversed colors text and windowText colors may differ, and Label as QLabel's analog should use the correct one Task-number: QTBUG-37468 Change-Id: Ie4f574e782b1c9274d86f45433c36ecab2989b97 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/Label.qml')
-rw-r--r--src/controls/Label.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Label.qml b/src/controls/Label.qml
index 8a102011..658772a8 100644
--- a/src/controls/Label.qml
+++ b/src/controls/Label.qml
@@ -81,7 +81,7 @@ Text {
*/
id: label
- color: pal.text
+ color: pal.windowText
activeFocusOnTab: false
renderType: Text.NativeRendering
SystemPalette {