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 GitHub
parent 4dec615cea
commit e432efac28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -33,6 +33,8 @@ Rectangle {
anchors.centerIn: parent
StatusEmoji {
width: 18
height: 18
emojiId: root.emoji != "" ? Emoji.iconHex(root.emoji) : ""
anchors.verticalCenter: parent.verticalCenter
}
@ -44,7 +46,9 @@ Rectangle {
StatusBaseText {
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
text: root.name
}