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

View file

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

View file

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