Skip to content

Commit

Permalink
[MaterialIcons] MaterialToolLabel: Use control accessor for properties
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Dec 31, 2024
1 parent 11f2576 commit 3234bb9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions meshroom/ui/qml/MaterialIcons/MaterialToolLabel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ Item {
font.pointSize: 13
padding: 0
text: ""
color: labelIconColor
color: control.labelIconColor
}
Label {
id: labelItem
text: ""
color: labelIconColor
width: labelWidth
color: control.labelIconColor
width: control.labelWidth

onWidthChanged: {
if (labelWidth != undefined && width != labelWidth)
width = labelWidth
if (control.labelWidth != undefined && width != control.labelWidth)
width = control.labelWidth
}
}
}
Expand Down

0 comments on commit 3234bb9

Please sign in to comment.