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:
Diego Prado Gesto 2018-09-12 16:57:43 +02:00
parent e3f67f1147
commit 3368428dbb

View file

@ -191,6 +191,7 @@ TabView
ReadOnlyTextField
{
id: colorLabel;
width: parent.width - colorSelector.width - parent.spacing
text: properties.color_name;
readOnly: !base.editingEnabled
onEditingFinished: base.setMetaDataEntry("color_name", properties.color_name, text)