QmlDesigner: Adjust OriginControl

* It is not clear where the action indicator is.
  Therefore we always show it.
* Adjust position

Change-Id: I97f312b488ef3d96872914262ad36d5df606754f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2020-04-01 17:41:06 +02:00
parent 6d0bcb7665
commit 965250bae0

View File

@@ -50,13 +50,14 @@ Item {
}
ActionIndicator {
anchors.left: grid.right
anchors.right: grid.left
anchors.leftMargin: grid.spacing
visible: originControl.enabled
icon.color: extFuncLogic.color
icon.text: extFuncLogic.glyph
onClicked: extFuncLogic.show()
forceVisible: true
}
ColorLogic {
@@ -71,6 +72,7 @@ Item {
}
Grid {
x: StudioTheme.Values.squareComponentWidth
opacity: originControl.enabled ? 1 : 0.5
rows: 3
columns: 3