fix(StatusChatListItem): fix mute icon overlapping badges
This commit is contained in:
parent
ec17309348
commit
1fa8dffe3a
|
@ -138,7 +138,7 @@ Rectangle {
|
||||||
anchors.left: statusIcon.visible ? statusIcon.right : identicon.right
|
anchors.left: statusIcon.visible ? statusIcon.right : identicon.right
|
||||||
anchors.leftMargin: statusIcon.visible ? 1 : 8
|
anchors.leftMargin: statusIcon.visible ? 1 : 8
|
||||||
anchors.right: mutedIcon.visible ? mutedIcon.left :
|
anchors.right: mutedIcon.visible ? mutedIcon.left :
|
||||||
statusBadge.visible ? statusBadge.left : parent.right
|
statusBadge.visible ? statusBadgeContainer.left : parent.right
|
||||||
anchors.rightMargin: 6
|
anchors.rightMargin: 6
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ Rectangle {
|
||||||
|
|
||||||
StatusIcon {
|
StatusIcon {
|
||||||
id: mutedIcon
|
id: mutedIcon
|
||||||
anchors.right: statusBadge.visible ? statusBadge.left : parent.right
|
anchors.right: statusBadge.visible ? statusBadgeContainer.left : parent.right
|
||||||
anchors.rightMargin: 8
|
anchors.rightMargin: 8
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
width: 14
|
width: 14
|
||||||
|
@ -188,6 +188,7 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Item {
|
Item {
|
||||||
|
id: statusBadgeContainer
|
||||||
width: 32
|
width: 32
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
Loading…
Reference in New Issue