Fixed size of background circle for Unread messages
This commit is contained in:
parent
12dbac7480
commit
59b99a0a28
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ ListItem {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: chatUnreadMessagesCountBackground
|
id: chatUnreadMessagesCountBackground
|
||||||
color: isMuted ? ((Theme.colorScheme === Theme.DarkOnLight) ? "lightgray" : "dimgray") : Theme.highlightBackgroundColor
|
color: isMuted ? ((Theme.colorScheme === Theme.DarkOnLight) ? "lightgray" : "dimgray") : Theme.highlightBackgroundColor
|
||||||
width: Theme.fontSizeLarge
|
width: chatUnreadMessagesCount.width + Theme.fontSizeLarge / 2
|
||||||
height: Theme.fontSizeLarge
|
height: Theme.fontSizeLarge
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
|
|
@ -1405,7 +1405,7 @@ Page {
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: chatUnreadMessagesItem
|
id: chatUnreadMessagesItem
|
||||||
width: Theme.fontSizeHuge
|
width: chatUnreadMessagesCount.width + Theme.fontSizeLarge / 2
|
||||||
height: Theme.fontSizeHuge
|
height: Theme.fontSizeHuge
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: Theme.paddingMedium
|
anchors.rightMargin: Theme.paddingMedium
|
||||||
|
|
Loading…
Reference in a new issue