Skip to content

Commit 3234bb9

Browse files
committed
[MaterialIcons] MaterialToolLabel: Use control accessor for properties
1 parent 11f2576 commit 3234bb9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

meshroom/ui/qml/MaterialIcons/MaterialToolLabel.qml

+5-5
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)