mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-08 20:56:39 +00:00
fix: fix anchors for badge icon in profile button
This commit is contained in:
parent
7a4cc9227e
commit
c273ee9bed
@ -71,7 +71,7 @@ RowLayout {
|
|||||||
anchors.left: parent.right
|
anchors.left: parent.right
|
||||||
anchors.leftMargin: -10
|
anchors.leftMargin: -10
|
||||||
anchors.topMargin: -5
|
anchors.topMargin: -5
|
||||||
radius: 9
|
radius: width / 2
|
||||||
color: Style.current.blue
|
color: Style.current.blue
|
||||||
width: chatsModel.unreadMessagesCount < 10 ? 18 : messageCount.width + 10
|
width: chatsModel.unreadMessagesCount < 10 ? 18 : messageCount.width + 10
|
||||||
height: 18
|
height: 18
|
||||||
@ -117,11 +117,11 @@ RowLayout {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
id: profileBadge
|
id: profileBadge
|
||||||
visible: !profileModel.isMnemonicBackedUp && sLayout.children[sLayout.currentIndex] !== profileLayoutContainer
|
visible: !profileModel.isMnemonicBackedUp && sLayout.children[sLayout.currentIndex] !== profileLayoutContainer
|
||||||
anchors.top: image3.top
|
anchors.top: parent.top
|
||||||
anchors.left: image3.right
|
anchors.left: parent.right
|
||||||
anchors.leftMargin: -10
|
anchors.leftMargin: -10
|
||||||
anchors.topMargin: -5
|
anchors.topMargin: -5
|
||||||
radius: 9
|
radius: width / 2
|
||||||
color: Style.current.blue
|
color: Style.current.blue
|
||||||
width: 18
|
width: 18
|
||||||
height: 18
|
height: 18
|
||||||
|
Loading…
x
Reference in New Issue
Block a user