Minor changes suggested in review

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-21 13:17:36 +01:00
parent eef6ad662d
commit bd636e61a0
6 changed files with 13 additions and 4 deletions

View file

@ -34,7 +34,7 @@ Item
anchors.left: openFileButtonBackground.right
anchors.leftMargin: UM.Theme.getSize("default_margin").width
width: 0.9 * prepareMenu.width
width: Math.round(0.9 * prepareMenu.width)
height: parent.height
spacing: 0

View file

@ -68,6 +68,7 @@ Item
elide: Text.ElideRight
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
}
popupItem: Column

View file

@ -132,6 +132,7 @@ Cura.ExpandableComponent
visible: UM.SimulationView.compatibilityMode
height: UM.Theme.getSize("layerview_row").height
width: parent.width
renderType: Text.NativeRendering
}
Item // Spacer
@ -188,7 +189,7 @@ Cura.ExpandableComponent
leftMargin: UM.Theme.getSize("checkbox").width + Math.round(UM.Theme.getSize("default_margin").width / 2)
rightMargin: UM.Theme.getSize("default_margin").width * 2
}
renderType: Text.NativeRendering
}
}
}
@ -254,6 +255,7 @@ Cura.ExpandableComponent
text: label
font: UM.Theme.getFont("default")
elide: Text.ElideRight
renderType: Text.NativeRendering
color: UM.Theme.getColor("setting_control_text")
anchors.verticalCenter: parent.verticalCenter
anchors.left: legendModelCheckBox.left
@ -310,7 +312,7 @@ Cura.ExpandableComponent
width: parent.width
color: UM.Theme.getColor("setting_control_text")
font: UM.Theme.getFont("default")
renderType: Text.NativeRendering
Rectangle
{
anchors.verticalCenter: parent.verticalCenter
@ -357,6 +359,7 @@ Cura.ExpandableComponent
anchors.left: parent.left
color: UM.Theme.getColor("setting_control_text")
font: UM.Theme.getFont("default")
renderType: Text.NativeRendering
}
Label

View file

@ -53,6 +53,7 @@ Item
width: contentWidth
height: contentHeight
visible: extruderEnabled
renderType: Text.NativeRendering
}
UM.RecolorImage

View file

@ -33,6 +33,7 @@ Cura.ExpandableComponent
elide: Text.ElideRight
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
}
popupItem: Item
@ -60,6 +61,7 @@ Cura.ExpandableComponent
height: visible ? contentHeight + 2 * UM.Theme.getSize("default_margin").height : 0
font: UM.Theme.getFont("medium_bold")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
}
@ -103,6 +105,7 @@ Cura.ExpandableComponent
font: UM.Theme.getFont("medium_bold")
color: UM.Theme.getColor("text")
verticalAlignment: Text.AlignVCenter
renderType: Text.NativeRendering
}
Repeater

View file

@ -182,6 +182,7 @@ Cura.ExpandableComponent
verticalAlignment: Text.AlignVCenter
renderType: Text.NativeRendering
elide: Text.ElideRight
color:
{
if(control.pressed)