Add border to Completer to distinguish it from the window

This commit is contained in:
Loren Burkholder 2021-01-21 19:05:34 -05:00
parent 3508ed56a0
commit b1f8397499
1 changed files with 4 additions and 2 deletions

View File

@ -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
}
}