Layerview number is now correctly displayed

CURA-1273y
This commit is contained in:
Jaime van Kessel 2016-04-01 14:50:47 +02:00
parent b5107b6ffa
commit 4ad88f3498

View file

@ -65,7 +65,7 @@ Item
anchors.leftMargin: UM.Theme.getSize("default_margin").width / 2;
anchors.verticalCenter: parent.verticalCenter;
width: UM.Theme.getSize("line").width * maxValue.length;
width: Math.max(UM.Theme.getSize("line").width * maxValue.length + 1, 20);
style: TextFieldStyle
{