Add border to Completer to distinguish it from the window
This commit is contained in:
parent
3508ed56a0
commit
b1f8397499
@ -57,9 +57,9 @@ Popup {
|
|||||||
completer = undefined;
|
completer = undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
padding: 0
|
padding: 1
|
||||||
onAboutToShow: currentIndex = -1
|
onAboutToShow: currentIndex = -1
|
||||||
height: listView.contentHeight
|
height: listView.contentHeight + 2 // + 2 for the padding on top and bottom
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
onTimelineChanged: completer = null
|
onTimelineChanged: completer = null
|
||||||
@ -183,6 +183,8 @@ Popup {
|
|||||||
color: colors.base
|
color: colors.base
|
||||||
implicitHeight: popup.contentHeight
|
implicitHeight: popup.contentHeight
|
||||||
implicitWidth: popup.contentWidth
|
implicitWidth: popup.contentWidth
|
||||||
|
// colors.text should always contrast nicely with the window background
|
||||||
|
border.color: colors.text
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user