mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Fix listview layout in DropDownType
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user