mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 19:58:56 +03:00
Merge pull request #4628 from nextcloud/feature/emoji-picker-placeholder-message
This commit is contained in:
commit
b707aef3a2
1 changed files with 11 additions and 0 deletions
|
@ -87,6 +87,7 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
GridView {
|
||||
id: emojiView
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.preferredHeight: metrics.height * 8
|
||||
|
@ -125,6 +126,16 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
id: placeholderMessage
|
||||
anchors.centerIn: parent
|
||||
text: qsTr("No recent emojis")
|
||||
color: Style.ncSecondaryTextColor
|
||||
wrapMode: Text.Wrap
|
||||
font.bold: true
|
||||
visible: emojiView.count === 0
|
||||
}
|
||||
|
||||
ScrollBar.vertical: ScrollBar {}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue