mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Add toolbar button icon size
Which is slightly smaller than the button icon CURA-8202
This commit is contained in:
parent
3eafd11587
commit
4583866f57
3 changed files with 14 additions and 7 deletions
|
@ -15,7 +15,8 @@ RowLayout
|
|||
|
||||
Cura.IconWithText
|
||||
{
|
||||
source: UM.Theme.getIcon("PrintQuality")
|
||||
source: UM.Theme.getIcon("Sliders", "medium")
|
||||
iconSize: UM.Theme.getSize("button_icon").width
|
||||
text:
|
||||
{
|
||||
if (Cura.MachineManager.activeStack)
|
||||
|
@ -53,6 +54,7 @@ RowLayout
|
|||
source: UM.Theme.getIcon("Infill1")
|
||||
text: Cura.MachineManager.activeStack ? parseInt(infillDensity.properties.value) + "%" : "0%"
|
||||
font: UM.Theme.getFont("medium")
|
||||
iconSize: UM.Theme.getSize("toolbar_button_icon").width
|
||||
|
||||
UM.SettingPropertyProvider
|
||||
{
|
||||
|
@ -68,6 +70,7 @@ RowLayout
|
|||
source: UM.Theme.getIcon("Support")
|
||||
text: supportEnabled.properties.value == "True" ? enabledText : disabledText
|
||||
font: UM.Theme.getFont("medium")
|
||||
iconSize: UM.Theme.getSize("toolbar_button_icon").width
|
||||
|
||||
UM.SettingPropertyProvider
|
||||
{
|
||||
|
@ -83,6 +86,7 @@ RowLayout
|
|||
source: UM.Theme.getIcon("Adhesion")
|
||||
text: platformAdhesionType.properties.value != "skirt" && platformAdhesionType.properties.value != "none" ? enabledText : disabledText
|
||||
font: UM.Theme.getFont("medium")
|
||||
iconSize: UM.Theme.getSize("toolbar_button_icon").width
|
||||
|
||||
UM.SettingPropertyProvider
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue