Improve emoji selector

This commit is contained in:
Carl Schwan
2020-11-22 14:59:10 +01:00
parent 0fa058098f
commit 820b63d493

View File

@@ -126,6 +126,7 @@ ToolBar {
visible: isEmoji visible: isEmoji
text: autoCompleteText text: autoCompleteText
font.family: "Emoji" font.family: "Emoji"
font.pointSize: 20
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }
@@ -135,6 +136,7 @@ ToolBar {
Layout.preferredHeight: Kirigami.Units.gridUnit Layout.preferredHeight: Kirigami.Units.gridUnit
source: modelData.avatarMediaId ? "image://mxc/" + modelData.avatarMediaId : "" source: modelData.avatarMediaId ? "image://mxc/" + modelData.avatarMediaId : ""
color: modelData.color ? Qt.darker(modelData.color, 1.1) : null color: modelData.color ? Qt.darker(modelData.color, 1.1) : null
visible: !isEmoji
} }
Label { Label {
Layout.fillHeight: true Layout.fillHeight: true