diff --git a/ui/LocationPage.qml b/ui/LocationPage.qml index 668824671894e596e76959b99b4f7656b7ea9fda..2bbd8fff2df54ee1adac6526d6dcd0d74b5a294d 100644 --- a/ui/LocationPage.qml +++ b/ui/LocationPage.qml @@ -1,7 +1,7 @@ /* * LocationPage.qml * - * Copyright (c) 2021 Andy Ex + * Copyright (c) 2021-2023 Andy Ex * * This file is part of Radar-App. * @@ -67,6 +67,11 @@ Item { Layout.fillWidth: true width: parent.width + + popup.anchors.centerIn: Overlay.overlay + popup.bottomMargin: 36 + popup.topMargin: 24 + model: App.countries onActivated: { @@ -96,7 +101,13 @@ Item { Layout.fillWidth: true font.capitalization: Font.Capitalize + width: parent.width + + popup.anchors.centerIn: Overlay.overlay + popup.bottomMargin: 36 + popup.topMargin: 24 + model: App.cities displayText: App.cityDisplayName(App.city.id) delegate: ItemDelegate {