mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Add border to Completer to distinguish it from the window
This commit is contained in:
parent
3508ed56a0
commit
b1f8397499
1 changed files with 4 additions and 2 deletions
|
@ -57,9 +57,9 @@ Popup {
|
|||
completer = undefined;
|
||||
}
|
||||
}
|
||||
padding: 0
|
||||
padding: 1
|
||||
onAboutToShow: currentIndex = -1
|
||||
height: listView.contentHeight
|
||||
height: listView.contentHeight + 2 // + 2 for the padding on top and bottom
|
||||
|
||||
Connections {
|
||||
onTimelineChanged: completer = null
|
||||
|
@ -183,6 +183,8 @@ Popup {
|
|||
color: colors.base
|
||||
implicitHeight: popup.contentHeight
|
||||
implicitWidth: popup.contentWidth
|
||||
// colors.text should always contrast nicely with the window background
|
||||
border.color: colors.text
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue