CURA-4870 Cleanup UI and add buildplate icon

This commit is contained in:
Diego Prado Gesto 2018-03-05 12:13:46 +01:00
parent 871f0a130e
commit f779a20a6e
3 changed files with 25 additions and 8 deletions

View file

@ -44,7 +44,6 @@ Rectangle
width: Math.round(parent.width / 2)
printCoreConfiguration: modelData
}
Component.onCompleted: {print("ELEMENTOS:", repeater.model.count)}
}
}
@ -69,11 +68,11 @@ Rectangle
id: buildplateIcon
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
width: UM.Theme.getSize("standard_arrow").width
height: UM.Theme.getSize("standard_arrow").height
width: UM.Theme.getSize("topbar_button_icon").width
height: UM.Theme.getSize("topbar_button_icon").height
sourceSize.width: width
sourceSize.height: height
source: UM.Theme.getIcon("extruder_button")
source: UM.Theme.getIcon("buildplate")
color: "black"
}

View file

@ -28,7 +28,7 @@ Column
elide: Text.ElideRight
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
font: UM.Theme.getFont("small")
font: UM.Theme.getFont("default")
}
// Rounded item to show the extruder number
@ -58,7 +58,7 @@ Column
id: extruderNumberText
anchors.centerIn: parent
text: printCoreConfiguration.position + 1
font: UM.Theme.getFont("small")
font: UM.Theme.getFont("default")
}
}
}
@ -69,14 +69,15 @@ Column
text: printCoreConfiguration.material
elide: Text.ElideRight
width: parent.width
font: UM.Theme.getFont("small")
font: UM.Theme.getFont("default_bold")
}
Label
{
id: printCoreTypeLabel
text: printCoreConfiguration.hotendID
elide: Text.ElideRight
width: parent.width
font: UM.Theme.getFont("very_small")
font: UM.Theme.getFont("default")
}
}