mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Update extruderIcon to be more in line with the design
CURA-5785
This commit is contained in:
parent
c7dbaa3a00
commit
a9672458fd
3 changed files with 14 additions and 8 deletions
|
|
@ -9,8 +9,8 @@ Item
|
|||
{
|
||||
id: extruderIconItem
|
||||
|
||||
implicitWidth: UM.Theme.getSize("button").width
|
||||
implicitHeight: implicitWidth
|
||||
implicitWidth: UM.Theme.getSize("extruder_icon").width
|
||||
implicitHeight: UM.Theme.getSize("extruder_icon").height
|
||||
|
||||
property bool checked: true
|
||||
property color materialColor
|
||||
|
|
@ -22,7 +22,7 @@ Item
|
|||
anchors.fill: parent
|
||||
|
||||
sourceSize.width: parent.width
|
||||
sourceSize.height: parent.width
|
||||
sourceSize.height: parent.height
|
||||
source: UM.Theme.getIcon("extruder_button")
|
||||
color: extruderEnabled ? materialColor: "gray"
|
||||
}
|
||||
|
|
@ -49,11 +49,13 @@ Item
|
|||
id: extruderNumberText
|
||||
anchors.centerIn: parent
|
||||
text: index + 1
|
||||
font: UM.Theme.getFont("default")
|
||||
font: UM.Theme.getFont("extruder_icon")
|
||||
width: contentWidth
|
||||
height: contentHeight
|
||||
visible: extruderEnabled
|
||||
renderType: Text.NativeRendering
|
||||
horizontalAlignment: Text.alignHCenter
|
||||
verticalAlignment: Text.alignVCenter
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue