forked from qt-creator/qt-creator
QmlDesigner.propertyEditor: show that anchors are disabled in states
I also added a tooltip. Reviewed-by: Lasse Holmstedt
This commit is contained in:
@@ -25,9 +25,10 @@ GroupBox {
|
||||
|
||||
|
||||
AnchorButtons {
|
||||
//opacity: enabled?1.0:0.5;
|
||||
opacity: enabled ? 1.0 : 0.3;
|
||||
enabled: isInBaseState
|
||||
fixedWidth:266
|
||||
toolTip: enabled ? qsTr("Set anchors") : qsTr("Setting anchors in states is not supported.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user