Skip to content

Commit 73ea347

Browse files
cbentejacfabiencastan
authored andcommitted
[MaterialIcons] MaterialToolLabel: Use control accessor for properties
1 parent 4e23096 commit 73ea347

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

meshroom/ui/qml/MaterialIcons/MaterialToolLabel.qml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ Item {
3333
font.pointSize: 13
3434
padding: 0
3535
text: ""
36-
color: labelIconColor
36+
color: control.labelIconColor
3737
}
3838
Label {
3939
id: labelItem
4040
text: ""
41-
color: labelIconColor
42-
width: labelWidth
41+
color: control.labelIconColor
42+
width: control.labelWidth
4343

4444
onWidthChanged: {
45-
if (labelWidth != undefined && width != labelWidth)
46-
width = labelWidth
45+
if (control.labelWidth != undefined && width != control.labelWidth)
46+
width = control.labelWidth
4747
}
4848
}
4949
}

0 commit comments

Comments
 (0)