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 {
|
||||
enabled: anchorBackend.topAnchored;
|
||||
visible: anchorBackend.topAnchored;
|
||||
iconSource: "../HelperWidgets/images/anchor-top.png"
|
||||
anchorMargin: backendValues.anchors_topMargin
|
||||
targetName: anchorBackend.topTarget
|
||||
@@ -72,7 +72,7 @@ Section {
|
||||
}
|
||||
|
||||
AnchorRow {
|
||||
enabled: anchorBackend.bottomAnchored;
|
||||
visible: anchorBackend.bottomAnchored;
|
||||
iconSource: "../HelperWidgets/images/anchor-bottom.png"
|
||||
anchorMargin: backendValues.anchors_bottomMargin
|
||||
targetName: anchorBackend.bottomTarget
|
||||
@@ -96,7 +96,7 @@ Section {
|
||||
}
|
||||
|
||||
AnchorRow {
|
||||
enabled: anchorBackend.leftAnchored;
|
||||
visible: anchorBackend.leftAnchored;
|
||||
iconSource: "../HelperWidgets/images/anchor-left.png"
|
||||
anchorMargin: backendValues.anchors_leftMargin
|
||||
targetName: anchorBackend.leftTarget
|
||||
@@ -119,7 +119,7 @@ Section {
|
||||
}
|
||||
|
||||
AnchorRow {
|
||||
enabled: anchorBackend.rightAnchored;
|
||||
visible: anchorBackend.rightAnchored;
|
||||
iconSource: "../HelperWidgets/images/anchor-right.png"
|
||||
anchorMargin: backendValues.anchors_rightMargin
|
||||
targetName: anchorBackend.rightTarget
|
||||
@@ -144,7 +144,7 @@ Section {
|
||||
|
||||
AnchorRow {
|
||||
showAlternativeTargets: false
|
||||
enabled: anchorBackend.horizontalCentered;
|
||||
visible: anchorBackend.horizontalCentered;
|
||||
iconSource: "../HelperWidgets/images/anchor-horizontal.png"
|
||||
anchorMargin: backendValues.anchors_horizontalCenterOffset
|
||||
targetName: anchorBackend.horizontalTarget
|
||||
@@ -156,7 +156,7 @@ Section {
|
||||
|
||||
AnchorRow {
|
||||
showAlternativeTargets: false
|
||||
enabled: anchorBackend.verticalCentered;
|
||||
visible: anchorBackend.verticalCentered;
|
||||
iconSource: "../HelperWidgets/images/anchor-vertical.png"
|
||||
anchorMargin: backendValues.anchors_verticalCenterOffset
|
||||
targetName: anchorBackend.verticalTarget
|
||||
|
Reference in New Issue
Block a user