Fixed size of background circle for Unread messages #7

Merged
medvedych merged 1 commit from sprainbrains/harbour-fernschreiber:unread_message_background_fix into master 2023-08-07 14:17:40 +03:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 59b99a0a28 - Show all commits

View file

@ -87,7 +87,7 @@ ListItem {
Rectangle {
id: chatUnreadMessagesCountBackground
color: isMuted ? ((Theme.colorScheme === Theme.DarkOnLight) ? "lightgray" : "dimgray") : Theme.highlightBackgroundColor
width: Theme.fontSizeLarge
width: chatUnreadMessagesCount.width + Theme.fontSizeLarge / 2
height: Theme.fontSizeLarge
anchors.right: parent.right
anchors.bottom: parent.bottom

View file

@ -1405,7 +1405,7 @@ Page {
Item {
id: chatUnreadMessagesItem
width: Theme.fontSizeHuge
width: chatUnreadMessagesCount.width + Theme.fontSizeLarge / 2
height: Theme.fontSizeHuge
anchors.right: parent.right
anchors.rightMargin: Theme.paddingMedium