forked from qt-creator/qt-creator
QmlDesigner: use visible instead of enabled
Change-Id: Ic581f104a600ac24f89c497435d9a3a1efb3a570 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
@@ -49,7 +49,7 @@ Section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AnchorRow {
|
AnchorRow {
|
||||||
enabled: anchorBackend.topAnchored;
|
visible: anchorBackend.topAnchored;
|
||||||
iconSource: "../HelperWidgets/images/anchor-top.png"
|
iconSource: "../HelperWidgets/images/anchor-top.png"
|
||||||
anchorMargin: backendValues.anchors_topMargin
|
anchorMargin: backendValues.anchors_topMargin
|
||||||
targetName: anchorBackend.topTarget
|
targetName: anchorBackend.topTarget
|
||||||
@@ -72,7 +72,7 @@ Section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AnchorRow {
|
AnchorRow {
|
||||||
enabled: anchorBackend.bottomAnchored;
|
visible: anchorBackend.bottomAnchored;
|
||||||
iconSource: "../HelperWidgets/images/anchor-bottom.png"
|
iconSource: "../HelperWidgets/images/anchor-bottom.png"
|
||||||
anchorMargin: backendValues.anchors_bottomMargin
|
anchorMargin: backendValues.anchors_bottomMargin
|
||||||
targetName: anchorBackend.bottomTarget
|
targetName: anchorBackend.bottomTarget
|
||||||
@@ -96,7 +96,7 @@ Section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AnchorRow {
|
AnchorRow {
|
||||||
enabled: anchorBackend.leftAnchored;
|
visible: anchorBackend.leftAnchored;
|
||||||
iconSource: "../HelperWidgets/images/anchor-left.png"
|
iconSource: "../HelperWidgets/images/anchor-left.png"
|
||||||
anchorMargin: backendValues.anchors_leftMargin
|
anchorMargin: backendValues.anchors_leftMargin
|
||||||
targetName: anchorBackend.leftTarget
|
targetName: anchorBackend.leftTarget
|
||||||
@@ -119,7 +119,7 @@ Section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AnchorRow {
|
AnchorRow {
|
||||||
enabled: anchorBackend.rightAnchored;
|
visible: anchorBackend.rightAnchored;
|
||||||
iconSource: "../HelperWidgets/images/anchor-right.png"
|
iconSource: "../HelperWidgets/images/anchor-right.png"
|
||||||
anchorMargin: backendValues.anchors_rightMargin
|
anchorMargin: backendValues.anchors_rightMargin
|
||||||
targetName: anchorBackend.rightTarget
|
targetName: anchorBackend.rightTarget
|
||||||
@@ -144,7 +144,7 @@ Section {
|
|||||||
|
|
||||||
AnchorRow {
|
AnchorRow {
|
||||||
showAlternativeTargets: false
|
showAlternativeTargets: false
|
||||||
enabled: anchorBackend.horizontalCentered;
|
visible: anchorBackend.horizontalCentered;
|
||||||
iconSource: "../HelperWidgets/images/anchor-horizontal.png"
|
iconSource: "../HelperWidgets/images/anchor-horizontal.png"
|
||||||
anchorMargin: backendValues.anchors_horizontalCenterOffset
|
anchorMargin: backendValues.anchors_horizontalCenterOffset
|
||||||
targetName: anchorBackend.horizontalTarget
|
targetName: anchorBackend.horizontalTarget
|
||||||
@@ -156,7 +156,7 @@ Section {
|
|||||||
|
|
||||||
AnchorRow {
|
AnchorRow {
|
||||||
showAlternativeTargets: false
|
showAlternativeTargets: false
|
||||||
enabled: anchorBackend.verticalCentered;
|
visible: anchorBackend.verticalCentered;
|
||||||
iconSource: "../HelperWidgets/images/anchor-vertical.png"
|
iconSource: "../HelperWidgets/images/anchor-vertical.png"
|
||||||
anchorMargin: backendValues.anchors_verticalCenterOffset
|
anchorMargin: backendValues.anchors_verticalCenterOffset
|
||||||
targetName: anchorBackend.verticalTarget
|
targetName: anchorBackend.verticalTarget
|
||||||
|
Reference in New Issue
Block a user