SVG are not correlated to pixel size.

Although this deviates from the UX practices. It tended to confuse the
programmers ;-) The variances in level of detail for the icons are now
placed in the sub-directories. small, default and big.

CURA-8010_new_icons
This commit is contained in:
jelle Spijker 2021-04-28 15:45:20 +02:00 committed by Jelle Spijker
parent 5cb56b74e2
commit 9ea97f7561
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
93 changed files with 13 additions and 13 deletions

View file

@ -22,7 +22,7 @@ Item
id: mainIcon
anchors.fill: parent
source: UM.Theme.getIcon("Extruder", "30")
source: UM.Theme.getIcon("Extruder", "large")
color: extruderEnabled ? materialColor: UM.Theme.getColor("disabled")
}

View file

@ -53,7 +53,7 @@ Button
anchors.left: parent.left
width: height
height: parent.height - UM.Theme.getSize("narrow_margin").height
source: UM.Theme.getIcon("Extruder", "30")
source: UM.Theme.getIcon("Extruder", "large")
color: extruderColor
visible: showExtruderSwatches && extruderColor != ""
}

View file

@ -229,7 +229,7 @@ Item
sourceSize.width: width
sourceSize.height: height
source: UM.Theme.getIcon("Extruder", "30")
source: UM.Theme.getIcon("Extruder", "large")
color: supportExtruderCombobox.color
}
}
@ -299,7 +299,7 @@ Item
sourceSize.width: width
sourceSize.height: height
source: UM.Theme.getIcon("Extruder", "30")
source: UM.Theme.getIcon("Extruder", "large")
color: supportExtruderCombobox.model.getItem(index).color
}
}

View file

@ -122,15 +122,15 @@ Cura.ExpandablePopup
{
if (connectionStatus == "printer_connected")
{
return UM.Theme.getIcon("CheckBlueBG", "12")
return UM.Theme.getIcon("CheckBlueBG", "small")
}
else if (connectionStatus == "printer_cloud_connected")
{
return UM.Theme.getIcon("CloudBlueBG", "12")
return UM.Theme.getIcon("CloudBlueBG", "small")
}
else if (connectionStatus == "printer_cloud_not_available")
{
return UM.Theme.getIcon("CloudGreyBG", "12")
return UM.Theme.getIcon("CloudGreyBG", "small")
}
else
{

View file

@ -171,7 +171,7 @@ SettingItem
sourceSize.width: width
sourceSize.height: height
source: UM.Theme.getIcon("Extruder", "30")
source: UM.Theme.getIcon("Extruder", "large")
color: control.color
}
}
@ -240,7 +240,7 @@ SettingItem
sourceSize.width: width
sourceSize.height: height
source: UM.Theme.getIcon("Extruder", "30")
source: UM.Theme.getIcon("Extruder", "large")
color: control.model.getItem(index).color
}
}

View file

@ -172,7 +172,7 @@ SettingItem
sourceSize.width: width
sourceSize.height: height
source: UM.Theme.getIcon("Extruder", "30")
source: UM.Theme.getIcon("Extruder", "large")
color: control.color
}
}
@ -237,7 +237,7 @@ SettingItem
sourceSize.width: width
sourceSize.height: height
source: UM.Theme.getIcon("Extruder", "30")
source: UM.Theme.getIcon("Extruder", "large")
color: control.model.getItem(index).color
}
}