mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 00:04:27 +08:00
Swap out warning icon
CURA-8439
This commit is contained in:
parent
45751efdd3
commit
4470fa198e
@ -32,19 +32,20 @@ Item
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
|
||||
UM.RecolorImage
|
||||
Rectangle
|
||||
{
|
||||
id: icon
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.verticalCenter: label.verticalCenter
|
||||
|
||||
source: UM.Theme.getIcon("Warning")
|
||||
color: UM.Theme.getColor("warning")
|
||||
width: UM.Theme.getSize("section_icon").width
|
||||
height: width
|
||||
radius: width / 2
|
||||
UM.RecolorImage
|
||||
{
|
||||
anchors.fill:parent
|
||||
source: UM.Theme.getIcon("Warning", "low")
|
||||
color: UM.Theme.getColor("message_warning_icon")
|
||||
}
|
||||
}
|
||||
|
||||
Label
|
||||
{
|
||||
id: label
|
||||
|
Loading…
x
Reference in New Issue
Block a user