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
|
||||
|
||||
width: rootWidth
|
||||
anchors.fill: parent
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
clip: true
|
||||
snapMode: ListView.SnapToItem
|
||||
|
|
|
|||
|
|
@ -239,6 +239,7 @@ Item {
|
|||
sourceComponent: root.listView
|
||||
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,10 +51,7 @@ PageType {
|
|||
|
||||
model: ApiCountryModel
|
||||
|
||||
Component.onCompleted: {
|
||||
currentIndex = 0
|
||||
}
|
||||
highlightFollowsCurrentItem: false
|
||||
currentIndex: 0
|
||||
|
||||
ButtonGroup {
|
||||
id: containersRadioButtonGroup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue