mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Replace RecolorImage
with ColorImage
CURA-8640
This commit is contained in:
parent
3de824e1a4
commit
45bc498c7f
64 changed files with 88 additions and 141 deletions
|
@ -33,7 +33,7 @@ UM.Dialog
|
|||
spacing: UM.Theme.getSize("default_margin").width
|
||||
leftPadding: UM.Theme.getSize("narrow_margin").width
|
||||
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
id: icon
|
||||
width: UM.Theme.getSize("marketplace_large_icon").width
|
||||
|
|
|
@ -46,7 +46,7 @@ Item
|
|||
height: UM.Theme.getSize("action_button").height
|
||||
width: childrenRect.width
|
||||
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
id: busyIndicator
|
||||
visible: parent.visible
|
||||
|
|
|
@ -33,7 +33,7 @@ TabButton
|
|||
visible: root.hovered
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
id: icon
|
||||
|
||||
|
|
|
@ -251,7 +251,7 @@ Window
|
|||
margins: UM.Theme.getSize("default_margin").width
|
||||
}
|
||||
spacing: UM.Theme.getSize("default_margin").width
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
id: bannerIcon
|
||||
source: UM.Theme.getIcon("Plugin")
|
||||
|
|
|
@ -20,7 +20,7 @@ Rectangle
|
|||
color: UM.Theme.getColor("action_panel_secondary")
|
||||
|
||||
// Icon
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
id: onboardingIcon
|
||||
anchors
|
||||
|
|
|
@ -47,12 +47,10 @@ Item
|
|||
sourceSize.width: width
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
visible: !parent.packageHasIcon
|
||||
anchors.fill: parent
|
||||
sourceSize.height: height
|
||||
sourceSize.width: width
|
||||
color: UM.Theme.getColor("text")
|
||||
source:
|
||||
{
|
||||
|
@ -123,7 +121,7 @@ Item
|
|||
|
||||
Layout.preferredWidth: UM.Theme.getSize("card_tiny_icon").width + 2 * padding
|
||||
Layout.preferredHeight: UM.Theme.getSize("card_tiny_icon").width + 2 * padding
|
||||
contentItem: UM.RecolorImage
|
||||
contentItem: UM.ColorImage
|
||||
{
|
||||
source: UM.Theme.getIcon("LinkExternal")
|
||||
color: UM.Theme.getColor("icon")
|
||||
|
|
|
@ -46,7 +46,7 @@ Rectangle
|
|||
// But we re-use the package page for the manage plugins as well. The one user that doesn't see
|
||||
// the num downloads is an acceptable "sacrifice" to make this easy to fix.
|
||||
visible: packageData.downloadCount != "0"
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
id: downloadsIcon
|
||||
width: UM.Theme.getSize("card_tiny_icon").width
|
||||
|
|
|
@ -213,7 +213,7 @@ ListView
|
|||
status: UM.StatusIcon.Status.ERROR
|
||||
visible: false
|
||||
}
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
id: loadMoreIcon
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -32,7 +32,7 @@ Control
|
|||
anchors.fill: parent
|
||||
color: UM.Theme.getColor("action_button_hovered")
|
||||
radius: width
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
anchors.fill: parent
|
||||
color: UM.Theme.getColor("primary")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue