Skip to content

Commit

Permalink
Refs #19533: Fix warning visual issue
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Nov 2, 2023
1 parent 57f3942 commit 43c396d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions qml/DomainGraphLayout.qml
Original file line number Diff line number Diff line change
Expand Up @@ -534,14 +534,14 @@ Item
}
Rectangle {
visible: modelData["status"] != "OK"
color: "white"
color: modelData["status"] == "WARNING" ? "transparent" : "white"
width: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
height: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
radius: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
IconSVG {
anchors.centerIn: parent
name: modelData["status"] == "WARNING" ? "issues" : "error"
color: modelData["status"] == "WARNING" ? "white" : "red"
color: modelData["status"] == "WARNING" ? "black" : "red"
size: modelData["status"] != "OK"? icon_size_ : 0
}
}
Expand Down Expand Up @@ -669,14 +669,14 @@ Item
}
Rectangle {
visible: modelData["status"] != "OK"
color: "white"
color: modelData["status"] == "WARNING" ? "transparent" : "white"
width: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
height: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
radius: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
IconSVG {
anchors.centerIn: parent
name: modelData["status"] == "WARNING" ? "issues" : "error"
color: modelData["status"] == "WARNING" ? "white" : "red"
color: modelData["status"] == "WARNING" ? "black" : "red"
size: modelData["status"] != "OK"? icon_size_ : 0
}
}
Expand Down Expand Up @@ -804,14 +804,14 @@ Item
}
Rectangle {
visible: modelData["status"] != "OK"
color: "white"
color: modelData["status"] == "WARNING" ? "transparent" : "white"
width: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
height: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
radius: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
IconSVG {
anchors.centerIn: parent
name: modelData["status"] == "WARNING" ? "issues" : "error"
color: modelData["status"] == "WARNING" ? "white" : "red"
color: modelData["status"] == "WARNING" ? "black" : "red"
size: modelData["status"] != "OK"? icon_size_ : 0
}
}
Expand Down Expand Up @@ -939,14 +939,14 @@ Item
}
Rectangle {
visible: modelData["status"] != "OK"
color: "white"
color: modelData["status"] == "WARNING" ? "transparent" : "white"
width: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
height: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
radius: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
IconSVG {
anchors.centerIn: parent
name: modelData["status"] == "WARNING" ? "issues" : "error"
color: modelData["status"] == "WARNING" ? "white" : "red"
color: modelData["status"] == "WARNING" ? "black" : "red"
size: modelData["status"] != "OK"? icon_size_ : 0
}
}
Expand Down Expand Up @@ -1127,14 +1127,14 @@ Item
}
Rectangle {
visible: modelData["status"] != "OK"
color: "white"
color: modelData["status"] == "WARNING" ? "transparent" : "white"
width: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
height: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
radius: modelData["status"] != "OK"? icon_size_ + spacing_icon_: 0
IconSVG {
anchors.centerIn: parent
name: modelData["status"] == "WARNING" ? "issues" : "error"
color: modelData["status"] == "WARNING" ? "white" : "red"
color: modelData["status"] == "WARNING" ? "black" : "red"
size: modelData["status"] != "OK"? icon_size_ : 0
}
}
Expand Down

0 comments on commit 43c396d

Please sign in to comment.