fix(StatusChatListItem): fix mute icon overlapping badges

This commit is contained in:
Lukáš Tinkl 2023-04-21 12:15:23 +02:00 committed by Lukáš Tinkl
parent ec17309348
commit 1fa8dffe3a
1 changed files with 3 additions and 2 deletions

View File

@ -138,7 +138,7 @@ Rectangle {
anchors.left: statusIcon.visible ? statusIcon.right : identicon.right
anchors.leftMargin: statusIcon.visible ? 1 : 8
anchors.right: mutedIcon.visible ? mutedIcon.left :
statusBadge.visible ? statusBadge.left : parent.right
statusBadge.visible ? statusBadgeContainer.left : parent.right
anchors.rightMargin: 6
anchors.verticalCenter: parent.verticalCenter
@ -166,7 +166,7 @@ Rectangle {
StatusIcon {
id: mutedIcon
anchors.right: statusBadge.visible ? statusBadge.left : parent.right
anchors.right: statusBadge.visible ? statusBadgeContainer.left : parent.right
anchors.rightMargin: 8
anchors.verticalCenter: parent.verticalCenter
width: 14
@ -188,6 +188,7 @@ Rectangle {
}
}
Item {
id: statusBadgeContainer
width: 32
height: parent.height
anchors.right: parent.right