QmlDesigner.propertyEditor: show that anchors are disabled in states

I also added a tooltip.

Reviewed-by: Lasse Holmstedt
This commit is contained in:
Thomas Hartmann
2010-11-01 10:33:46 +01:00
parent 2ffc045be3
commit 36c00b4344

View File

@@ -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.")
}
}
}