aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/MenuBarItem.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-09-26 21:23:39 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-09-27 06:55:42 +0000
commite1cda895956cd69d1b9d4654dcccc476fc8db93d (patch)
tree752b31c525d18bac7605a4ea32b7774cb8a0adb2 /src/imports/controls/MenuBarItem.qml
parentba745c1da2105b4bdd2c57be1d8a692776e6b768 (diff)
Default: make MenuBar & MenuBarItem use palettes
Task-number: QTBUG-63369 Change-Id: I61cc75166df05933782c24109e845411ef2aff0b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/MenuBarItem.qml')
-rw-r--r--src/imports/controls/MenuBarItem.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/controls/MenuBarItem.qml b/src/imports/controls/MenuBarItem.qml
index c18b1174..dfe20788 100644
--- a/src/imports/controls/MenuBarItem.qml
+++ b/src/imports/controls/MenuBarItem.qml
@@ -56,7 +56,7 @@ T.MenuBarItem {
icon.width: 24
icon.height: 24
- icon.color: control.palette.windowText
+ icon.color: control.palette.buttonText
contentItem: IconLabel {
spacing: control.spacing
@@ -67,12 +67,12 @@ T.MenuBarItem {
icon: control.icon
text: control.text
font: control.font
- color: control.palette.windowText
+ color: control.palette.buttonText
}
background: Rectangle {
implicitWidth: 40
implicitHeight: 40
- color: control.highlighted || control.down ? control.palette.light : "transparent"
+ color: control.down || control.highlighted ? control.palette.mid : "transparent"
}
}