mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 20:31:35 -07: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
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue