mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
Remove unneeded width from labels
CURA-8496
This commit is contained in:
parent
0bcea3f4cd
commit
b887398da6
@ -84,8 +84,6 @@ Cura.ExpandablePopup
|
|||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
width: parent.width
|
|
||||||
|
|
||||||
visible: !truncated
|
visible: !truncated
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,8 +97,6 @@ Cura.ExpandablePopup
|
|||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
width: parent.width
|
|
||||||
|
|
||||||
visible: !materialBrandColorTypeLabel.visible && !truncated
|
visible: !materialBrandColorTypeLabel.visible && !truncated
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,7 +110,6 @@ Cura.ExpandablePopup
|
|||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
width: parent.width
|
|
||||||
visible: !materialBrandColorTypeLabel.visible && !materialColorTypeLabel.visible
|
visible: !materialBrandColorTypeLabel.visible && !materialColorTypeLabel.visible
|
||||||
}
|
}
|
||||||
// Label that shows the name of the variant
|
// Label that shows the name of the variant
|
||||||
@ -130,7 +125,6 @@ Cura.ExpandablePopup
|
|||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
width: parent.width
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user