Skip to content

Commit

Permalink
Refs #19743: [ARS] Fix visual bug with expand/collapse status layout …
Browse files Browse the repository at this point in the history
…icon

Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Nov 20, 2023
1 parent a096479 commit a292074
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions qml/StatusLayout.qml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ Item
IconSVG {
id: expand_icon

name: "expand"
name: statusLayout.current_status === StatusLayout.Status.Expanded
? "collapse" : "expand"
size: parent.width
}

Expand All @@ -177,13 +178,11 @@ Item
if (statusLayout.current_status === StatusLayout.Status.Expanded)
{
collapse_status_layout()
expand_icon.name = "expand"

}
else if (statusLayout.current_status === StatusLayout.Status.Collapsed)
{
expand_status_layout()
expand_icon.name = "collapse"
}
}
}
Expand Down Expand Up @@ -278,7 +277,7 @@ Item
IconSVG {
id: warning_icon
anchors.left: error_value.right
anchors.leftMargin: elements_spacing_
anchors.leftMargin: elements_spacing_
anchors.verticalCenter: parent.verticalCenter
name: "issues"
size: parent.height - elements_spacing_
Expand Down

0 comments on commit a292074

Please sign in to comment.