summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Gruendl <henning.gruendl@qt.io>2022-06-16 12:29:50 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2022-06-22 17:34:15 +0000
commit5903d82c0b6356d1bb3460ed2b934ba2e87774ce (patch)
treee8a029eb31bebb47a34e0ef8318c7d07c40cbf86
parenta0d474f2defd3ac14ae118d5a7e3cc99b5aab9f6 (diff)
downloadqt-creator-5903d82c0b6356d1bb3460ed2b934ba2e87774ce.tar.gz
QmlDesigner: Fix hover color for ButtonRow
Use the default background color for ButtonRow buttons on global hover. This needs to be done to distinguish between hover and global hover on ButtonRow buttons as we unified the two colors as an attempt to make the UI a bit less noisy. Change-Id: I63f9c730367e9b906a772a63210c7ca548647352 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml
index 577257de70..c594220d5e 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/AbstractButton.qml
@@ -136,7 +136,7 @@ T.AbstractButton {
when: myButton.globalHover && !myButton.hover && !myButton.pressed && myButton.enabled
PropertyChanges {
target: buttonBackground
- color: StudioTheme.Values.themeControlBackgroundGlobalHover
+ color: StudioTheme.Values.themeControlBackground
}
},
State {