feat(StatusCommunityCard): Added explicit dependency between z properties

Added explicit dependency between z properties with banner, logo, and content card.
This commit is contained in:
Noelia 2022-06-09 16:18:10 +02:00 committed by Noelia
parent 2f24b69462
commit 33a3ee3d6e
1 changed files with 3 additions and 1 deletions

View File

@ -205,7 +205,7 @@ Rectangle {
// Community logo: // Community logo:
Rectangle { Rectangle {
z: parent.z + 1 z: content.z + 1
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 16 anchors.topMargin: 16
anchors.left: parent.left anchors.left: parent.left
@ -227,6 +227,8 @@ Rectangle {
// Content card // Content card
Rectangle { Rectangle {
id: content
z: banner.z + 1
visible: root.loaded visible: root.loaded
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 40 anchors.topMargin: 40