fix(StatusCommunityTag): Polish text and icon sizings (#824)

This commit is contained in:
Mikhail Rogachev 2022-08-03 12:44:35 +03:00 committed by Michał Cieślak
parent 8210e06292
commit cb13839f95
1 changed files with 5 additions and 1 deletions

View File

@ -33,6 +33,8 @@ Rectangle {
anchors.centerIn: parent anchors.centerIn: parent
StatusEmoji { StatusEmoji {
width: 18
height: 18
emojiId: root.emoji != "" ? Emoji.iconHex(root.emoji) : "" emojiId: root.emoji != "" ? Emoji.iconHex(root.emoji) : ""
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
@ -44,7 +46,9 @@ Rectangle {
StatusBaseText { StatusBaseText {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 13 font.pixelSize: 15
font.weight: Font.DemiBold
font.capitalization: Font.AllLowercase
color: root.enabled ? Theme.palette.primaryColor1 : Theme.palette.baseColor1 color: root.enabled ? Theme.palette.primaryColor1 : Theme.palette.baseColor1
text: root.name text: root.name
} }