Commit 36c00b43 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: show that anchors are disabled in states

I also added a tooltip.

Reviewed-by: Lasse Holmstedt
parent 2ffc045b
......@@ -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.")
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment