mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06: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
|
||||
height: Math.round(parent.height / 2)
|
||||
radius: Math.round(width / 2)
|
||||
radius: Math.round(width)
|
||||
color: UM.Theme.getColor("toolbar_background")
|
||||
|
||||
anchors
|
||||
{
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
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 - 0.1 * parent.height
|
||||
topMargin: (parent.height - height) / 2
|
||||
}
|
||||
|
||||
Label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue