forked from qt-creator/qt-creator
QmlDesigner: Use disabled color for disabled add module button
Fixes: QDS-5366 Change-Id: Ibfd761ad9c425c0a05a8668927121084dcfc5b64 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -105,8 +105,11 @@ Item {
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
anchors.centerIn: parent
|
||||
color: tabBar.currentIndex === index ? StudioTheme.Values.themeIconColorSelected
|
||||
: StudioTheme.Values.themeIconColor
|
||||
color: !plusButton.enabled
|
||||
? StudioTheme.Values.themeIconColorDisabled
|
||||
: tabBar.currentIndex === index
|
||||
? StudioTheme.Values.themeIconColorSelected
|
||||
: StudioTheme.Values.themeIconColor
|
||||
}
|
||||
|
||||
HelperWidgets.ToolTipArea {
|
||||
|
Reference in New Issue
Block a user