mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Change the color of a circle around the toolbar button
Instead of changing the color of the entire tool when it is hovered or selected, now a background circle will be drawn and its color will change according to whether the button is hovered/selected or not. In addition, the button icons will now be half the size of the button itself. CURA-8013
This commit is contained in:
parent
eeccfc32b9
commit
77a8f36153
2 changed files with 25 additions and 21 deletions
|
|
@ -68,7 +68,7 @@ Item
|
|||
source: UM.Theme.getIcon(model.icon) != "" ? UM.Theme.getIcon(model.icon) : "file:///" + model.location + "/" + model.icon
|
||||
color: UM.Theme.getColor("icon")
|
||||
|
||||
sourceSize: UM.Theme.getSize("button_icon")
|
||||
sourceSize: Math.round(UM.Theme.getSize("button") / 2)
|
||||
}
|
||||
|
||||
onCheckedChanged:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue