Fix listview layout in DropDownType

This commit is contained in:
aiamnezia 2025-04-28 13:54:32 +04:00
parent 83029741c9
commit 757caacf12
3 changed files with 4 additions and 5 deletions

View file

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

View file

@ -239,6 +239,7 @@ Item {
sourceComponent: root.listView
Layout.fillHeight: true
Layout.fillWidth: true
}
}
}

View file

@ -51,10 +51,7 @@ PageType {
model: ApiCountryModel
Component.onCompleted: {
currentIndex = 0
}
highlightFollowsCurrentItem: false
currentIndex: 0
ButtonGroup {
id: containersRadioButtonGroup