summaryrefslogtreecommitdiffstats
path: root/src/controls/Label.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Label.qml')
-rw-r--r--src/controls/Label.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/controls/Label.qml b/src/controls/Label.qml
index 6e01701b8..460e77cec 100644
--- a/src/controls/Label.qml
+++ b/src/controls/Label.qml
@@ -80,7 +80,10 @@ Text {
*/
id: label
- font.pixelSize: 11
color: pal.text
- SystemPalette {id:pal}
+ renderType: Text.NativeRendering
+ SystemPalette {
+ id: pal
+ colorGroup: enabled ? SystemPalette.Active : SystemPalette.Disabled
+ }
}