We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a1cc5 commit 4e23096Copy full SHA for 4e23096
meshroom/ui/qml/MaterialIcons/MaterialToolLabel.qml
@@ -16,10 +16,15 @@ Item {
16
property alias labelIconRow: contentRow
17
property var labelIconColor: palette.text
18
property alias labelIconMouseArea: mouseArea
19
+ property var labelWidth: undefined
20
implicitWidth: childrenRect.width
21
implicitHeight: childrenRect.height
22
anchors.rightMargin: 5
23
24
+ onLabelWidthChanged: {
25
+ labelItem.width = labelWidth
26
+ }
27
+
28
RowLayout {
29
id: contentRow
30
Label {
@@ -34,6 +39,12 @@ Item {
34
39
id: labelItem
35
40
text: ""
36
41
color: labelIconColor
42
+ width: labelWidth
43
44
+ onWidthChanged: {
45
+ if (labelWidth != undefined && width != labelWidth)
46
+ width = labelWidth
47
37
48
}
38
49
50
0 commit comments