mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 08:44:25 +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.top: parent.top
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
UM.RecolorImage
|
Rectangle
|
||||||
{
|
{
|
||||||
id: icon
|
id: icon
|
||||||
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.verticalCenter: label.verticalCenter
|
|
||||||
|
|
||||||
source: UM.Theme.getIcon("Warning")
|
|
||||||
color: UM.Theme.getColor("warning")
|
color: UM.Theme.getColor("warning")
|
||||||
width: UM.Theme.getSize("section_icon").width
|
width: UM.Theme.getSize("section_icon").width
|
||||||
height: 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
|
Label
|
||||||
{
|
{
|
||||||
id: label
|
id: label
|
||||||
|
Loading…
x
Reference in New Issue
Block a user