mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-30 09:43:08 +02:00
Fix combobox in modal windows
This commit is contained in:
parent
c41500f9d2
commit
af1180aadb
1 changed files with 3 additions and 1 deletions
|
@ -91,8 +91,10 @@ FocusScope {
|
|||
id: popup
|
||||
parent: desktop
|
||||
anchors.fill: parent
|
||||
z: desktop.zLevels.menu
|
||||
visible: false
|
||||
focus: true
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: hideList();
|
||||
|
@ -116,7 +118,7 @@ FocusScope {
|
|||
|
||||
ListView {
|
||||
id: listView
|
||||
height: textView.height * count
|
||||
height: textField.height * count * 1.4
|
||||
model: root.model
|
||||
highlight: Rectangle{
|
||||
width: listView.currentItem ? listView.currentItem.width : 0
|
||||
|
|
Loading…
Reference in a new issue