mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 16:16:00 +08:00
Updated the ExtruderIcon to not look completely horrible
This icon is due for a revisit with ticket: - CURA-8011 Replace extruder/material icon Therefore out-of-scope for this ticket. CURA-8010_new_icons
This commit is contained in:
parent
845289f708
commit
5cb56b74e2
@ -32,15 +32,14 @@ Item
|
|||||||
|
|
||||||
width: height
|
width: height
|
||||||
height: Math.round(parent.height / 2)
|
height: Math.round(parent.height / 2)
|
||||||
radius: Math.round(width / 2)
|
radius: Math.round(width)
|
||||||
color: UM.Theme.getColor("toolbar_background")
|
color: UM.Theme.getColor("toolbar_background")
|
||||||
|
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
top: parent.top
|
top: parent.top
|
||||||
// The circle needs to be slightly off center (so it sits in the middle of the square bit of the icon)
|
topMargin: (parent.height - height) / 2
|
||||||
topMargin: (parent.height - height) / 2 - 0.1 * parent.height
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
|
Loading…
x
Reference in New Issue
Block a user