Change Text to Label and cast all sizes to int

CURA-4437
This commit is contained in:
Mark 2017-10-11 12:48:42 +02:00 committed by ChrisTerBeke
parent 92e931e02e
commit 00205996da
9 changed files with 60 additions and 60 deletions

View file

@ -108,15 +108,15 @@ TabView
{
width: scrollView.columnWidth;
height: parent.rowHeight;
spacing: UM.Theme.getSize("default_margin").width/2
spacing: parseInt(UM.Theme.getSize("default_margin").width/2)
Rectangle
{
id: colorSelector
color: properties.color_code
width: (colorLabel.height * 0.75) | 0
height: (colorLabel.height * 0.75) | 0
width: parseInt(colorLabel.height * 0.75)
height: parseInt(colorLabel.height * 0.75)
border.width: UM.Theme.getSize("default_lining").height
anchors.verticalCenter: parent.verticalCenter