Commit ca5ce834 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: Hide target buttons for centered anchoring

I never ever needed that feature and the functionality is
missing/incomplete.
Setting all anchor combinations for the left/right/top/bottom
anchors should be enough.

Change-Id: I2c1a165ff7ef0ecc666640aeba7e86166c90aa25
Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
parent 88dfa84f
......@@ -56,6 +56,8 @@ RowLayout {
signal centerButtonClicked
signal oppositeEdgeButtonClicked
property alias buttonRow: buttonRow
IconLabel {
id: icon
......
......@@ -152,6 +152,7 @@ Section {
anchorBackend.horizontalTarget = currentText
}
verticalAnchor: false
buttonRow.visible: false
}
AnchorRow {
......@@ -164,6 +165,7 @@ Section {
anchorBackend.verticalTarget = currentText
}
verticalAnchor: true
buttonRow.visible: false
}
}
......
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