Skip to content

Commit 3a9565f

Browse files
[ui] AttributeEditor: The attribute nav buttons are now aligned with the label
1 parent a26870c commit 3a9565f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ RowLayout {
6363
text: (object != undefined && object.isLink) ? MaterialIcons.login : " "
6464
enabled: (object != undefined && object.isLink)
6565
font.pointSize: 8
66+
anchors.top: parent.top
67+
anchors.left: parent.left
68+
topPadding: 7
6669
ToolTip.text: (object != undefined && object.isLink) ? object.linkParam.label : ""
6770
onClicked: function(mouse) {
6871
root.inAttributeClicked(mouse, object.inputAttributes)
@@ -186,7 +189,10 @@ RowLayout {
186189
text: (attribute != undefined && attribute.hasOutputConnections) ? MaterialIcons.logout : ""
187190
font.pointSize: 8
188191
enabled: (attribute != undefined && attribute.hasOutputConnections)
189-
192+
anchors.top: parent.top
193+
anchors.right: parent.right
194+
topPadding: 7
195+
190196
onClicked: function(mouse) {
191197
root.outAttributeClicked(mouse, attribute.outputAttributes)
192198
}

0 commit comments

Comments
 (0)