Updated margins & layout for the monitor page

CL-896
This commit is contained in:
Jaime van Kessel 2018-08-23 17:29:48 +02:00
parent b0d9dc6fdd
commit dab2efab7f
4 changed files with 57 additions and 29 deletions

View file

@ -47,7 +47,6 @@ Item
{
id: materialLabel
text:
{
if(printCoreConfiguration != undefined && printCoreConfiguration.activeMaterial != undefined)
{
@ -55,11 +54,15 @@ Item
}
return ""
}
elide: Text.ElideRight
width: parent.width
font: UM.Theme.getFont("default_bold")
anchors.left: extruderCircle.right
anchors.leftMargin: UM.Theme.getSize("default_margin").height
elide: Text.ElideRight
anchors
{
right: parent.right
left: extruderCircle.right
margins: UM.Theme.getSize("default_margin").width
}
}
Label
@ -75,8 +78,14 @@ Item
}
anchors.top: materialLabel.bottom
elide: Text.ElideRight
width: parent.width
anchors.left: extruderCircle.right
anchors.leftMargin: UM.Theme.getSize("default_margin").height
anchors
{
top: materialLabel.bottom
right: parent.right
left: extruderCircle.right
leftMargin: UM.Theme.getSize("default_margin").width
rightMargin: UM.Theme.getSize("default_margin").width
}
}
}