Harmonize chat attribute bubble sizes

This commit is contained in:
Sebastian Wolf 2021-01-06 16:07:23 +01:00
parent cc65c694c0
commit de51bbffc0
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -53,8 +53,8 @@ ListItem {
Rectangle { Rectangle {
id: chatPinnedBackground id: chatPinnedBackground
color: Theme.highlightBackgroundColor color: Theme.highlightBackgroundColor
width: Theme.fontSizeExtraLarge width: Theme.fontSizeLarge
height: Theme.fontSizeExtraLarge height: Theme.fontSizeLarge
anchors.top: parent.top anchors.top: parent.top
radius: parent.width / 2 radius: parent.width / 2
visible: chatListViewItem.isPinned visible: chatListViewItem.isPinned
@ -62,8 +62,8 @@ ListItem {
Image { Image {
source: "../../images/icon-s-pin.svg" source: "../../images/icon-s-pin.svg"
height: Theme.fontSizeMedium height: Theme.fontSizeSmall
width: Theme.fontSizeMedium width: Theme.fontSizeSmall
anchors.centerIn: chatPinnedBackground anchors.centerIn: chatPinnedBackground
visible: chatListViewItem.isPinned visible: chatListViewItem.isPinned
} }
@ -71,8 +71,8 @@ ListItem {
Rectangle { Rectangle {
id: chatSecretBackground id: chatSecretBackground
color: Theme.highlightBackgroundColor color: Theme.highlightBackgroundColor
width: Theme.fontSizeExtraLarge width: Theme.fontSizeLarge
height: Theme.fontSizeExtraLarge height: Theme.fontSizeLarge
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
radius: parent.width / 2 radius: parent.width / 2
visible: chatListViewItem.isSecret visible: chatListViewItem.isSecret
@ -80,8 +80,8 @@ ListItem {
Image { Image {
source: "image://theme/icon-s-secure" source: "image://theme/icon-s-secure"
height: Theme.fontSizeMedium height: Theme.fontSizeSmall
width: Theme.fontSizeMedium width: Theme.fontSizeSmall
anchors.centerIn: chatSecretBackground anchors.centerIn: chatSecretBackground
visible: chatListViewItem.isSecret visible: chatListViewItem.isSecret
} }