mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 10:47:49 -06:00
Swap out warning icon
CURA-8439
This commit is contained in:
parent
45751efdd3
commit
4470fa198e
1 changed files with 8 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue