Skip to content

Commit 16ffc83

Browse files
[ui] Attribute: Fix the eye icon alignment
1 parent 00913e1 commit 16ffc83

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,10 @@ RowLayout {
213213
text: isDisplayed ? MaterialIcons.visibility : MaterialIcons.visibility_off
214214
enabled: isDisplayed
215215
visible: isDisplayable
216-
font.pointSize: 7
216+
217+
Layout.alignment: Qt.AlignRight
218+
rightPadding: 5
219+
font.pointSize: 8
217220
}
218221

219222
MaterialToolButton {
@@ -224,8 +227,8 @@ RowLayout {
224227
text: MaterialIcons.logout
225228
font.pointSize: 8
226229
enabled: shouldBeVisible
227-
Layout.alignment: Qt.AlignTop | Qt.AlignRight
228-
topPadding: 7
230+
Layout.alignment: Qt.AlignRight
231+
topPadding: 5
229232
visible: shouldBeVisible
230233

231234
MouseArea {

0 commit comments

Comments
 (0)