Fix listview layout in DropDownType
This commit is contained in:
parent
83029741c9
commit
757caacf12
3 changed files with 4 additions and 5 deletions
|
|
@ -18,7 +18,8 @@ ListView {
|
||||||
property var selectedText
|
property var selectedText
|
||||||
|
|
||||||
width: rootWidth
|
width: rootWidth
|
||||||
anchors.fill: parent
|
anchors.top: parent.top
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
snapMode: ListView.SnapToItem
|
snapMode: ListView.SnapToItem
|
||||||
|
|
|
||||||
|
|
@ -239,6 +239,7 @@ Item {
|
||||||
sourceComponent: root.listView
|
sourceComponent: root.listView
|
||||||
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -51,10 +51,7 @@ PageType {
|
||||||
|
|
||||||
model: ApiCountryModel
|
model: ApiCountryModel
|
||||||
|
|
||||||
Component.onCompleted: {
|
currentIndex: 0
|
||||||
currentIndex = 0
|
|
||||||
}
|
|
||||||
highlightFollowsCurrentItem: false
|
|
||||||
|
|
||||||
ButtonGroup {
|
ButtonGroup {
|
||||||
id: containersRadioButtonGroup
|
id: containersRadioButtonGroup
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue