diff options
author | Ruslan Nigmatullin <euroelessar@yandex.ru> | 2014-03-12 22:58:16 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-13 12:29:28 +0100 |
commit | 9f5d2093cb53fb5c322ebf8c319db520ae043eb9 (patch) | |
tree | ebb69ae367597f3b106cc38aec4796bf53b2a906 /src/controls/Label.qml | |
parent | 4569ed127c290bea8d165e15dc2eca525825c627 (diff) | |
download | qtquickcontrols-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.qml | 2 |
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 { |