Some file info workarounds.

Use default font in emoji picker.
This commit is contained in:
Black Hat
2018-11-23 23:28:04 +08:00
parent c7afe6b5ad
commit c88d41f359
3 changed files with 46 additions and 16 deletions

View File

@@ -42,12 +42,11 @@ ColumnLayout {
width: 64
height: 48
contentItem: Text {
contentItem: Label {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
font.pixelSize: 24
font.family: "Emoji"
text: label
}
@@ -92,12 +91,11 @@ ColumnLayout {
width: 48
height: 48
contentItem: Text {
contentItem: Label {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
font.pixelSize: 32
font.family: "Emoji"
text: modelData.unicode
}