forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user