fix(StatusLetterIdenticon): fix emoji positioning
The emoji wasn't centered correctly on Windows Fixes #5045
This commit is contained in:
parent
957680cb1c
commit
78ce7a6ac0
|
@ -29,7 +29,7 @@ Rectangle {
|
|||
width: 24
|
||||
height: 24
|
||||
color: Theme.palette.miscColor5
|
||||
letterSize: emoji ? 10 : 15
|
||||
letterSize: emoji ? 11 : 15
|
||||
emoji: ""
|
||||
emojiSize: Emoji.size.verySmall
|
||||
charactersLen: 1
|
||||
|
|
|
@ -21,11 +21,11 @@ Rectangle {
|
|||
StatusBaseText {
|
||||
id: identiconText
|
||||
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.alignWhenCentered: false
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
|
||||
font.weight: Font.Bold
|
||||
font.pixelSize: root.letterSize
|
||||
|
|
|
@ -58,7 +58,7 @@ Item {
|
|||
name: ""
|
||||
color: Theme.palette.baseColor1
|
||||
emoji: ""
|
||||
letterSize: 14
|
||||
letterSize: emoji ? 11 : 14
|
||||
background: StatusIconBackgroundSettings {
|
||||
width: 30
|
||||
height: 30
|
||||
|
|
Loading…
Reference in New Issue