mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:45:54 +08:00
Fix text field alignment.
The color text field was too short in many cases, when the color name is long. Contributes to CURA-5682.
This commit is contained in:
parent
e3f67f1147
commit
3368428dbb
@ -191,6 +191,7 @@ TabView
|
|||||||
ReadOnlyTextField
|
ReadOnlyTextField
|
||||||
{
|
{
|
||||||
id: colorLabel;
|
id: colorLabel;
|
||||||
|
width: parent.width - colorSelector.width - parent.spacing
|
||||||
text: properties.color_name;
|
text: properties.color_name;
|
||||||
readOnly: !base.editingEnabled
|
readOnly: !base.editingEnabled
|
||||||
onEditingFinished: base.setMetaDataEntry("color_name", properties.color_name, text)
|
onEditingFinished: base.setMetaDataEntry("color_name", properties.color_name, text)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user