Add bottom margin to autocompletion UI
This commit is contained in:
parent
6f37ce3519
commit
010675001c
@ -95,7 +95,12 @@ HListView {
|
|||||||
|
|
||||||
visible: opacity > 0
|
visible: opacity > 0
|
||||||
opacity: open && count ? 1 : 0
|
opacity: open && count ? 1 : 0
|
||||||
implicitHeight: open && count ? Math.min(window.height, contentHeight) : 0
|
bottomMargin: theme.spacing / 2
|
||||||
|
implicitHeight:
|
||||||
|
open && count ?
|
||||||
|
Math.min(window.height, contentHeight + topMargin + bottomMargin) :
|
||||||
|
0
|
||||||
|
|
||||||
model: ModelStore.get(chat.userId, chat.roomId, "autocompleted_members")
|
model: ModelStore.get(chat.userId, chat.roomId, "autocompleted_members")
|
||||||
|
|
||||||
delegate: CompletableUserDelegate {
|
delegate: CompletableUserDelegate {
|
||||||
|
Loading…
Reference in New Issue
Block a user