Display emoji with correct font
This commit is contained in:
@@ -48,6 +48,7 @@ ColumnLayout {
|
|||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
||||||
font.pixelSize: 24
|
font.pixelSize: 24
|
||||||
|
font.family: 'emoji'
|
||||||
text: label
|
text: label
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -119,6 +120,7 @@ ColumnLayout {
|
|||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
||||||
font.pixelSize: 32
|
font.pixelSize: 32
|
||||||
|
font.family: 'emoji'
|
||||||
text: modelData.unicode
|
text: modelData.unicode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user