mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 06:14:45 +00:00
kcms/time: Fix timezone picker dialog width
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/495 We need to set a preferred width for the dialog.
This commit is contained in:
parent
dc60cf714b
commit
a8f7796ebf
1 changed files with 1 additions and 2 deletions
|
|
@ -111,6 +111,7 @@ SimpleKCM {
|
||||||
id: timeZonePickerDialog
|
id: timeZonePickerDialog
|
||||||
title: i18nc("@title:window", "Pick Timezone")
|
title: i18nc("@title:window", "Pick Timezone")
|
||||||
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel
|
||||||
|
preferredWidth: Kirigami.Units.gridUnit * 18
|
||||||
|
|
||||||
property string selectedTimeZoneId
|
property string selectedTimeZoneId
|
||||||
|
|
||||||
|
|
@ -126,8 +127,6 @@ SimpleKCM {
|
||||||
id: listView
|
id: listView
|
||||||
currentIndex: -1 // otherwise the vkbd will constantly open and close while typing
|
currentIndex: -1 // otherwise the vkbd will constantly open and close while typing
|
||||||
headerPositioning: ListView.OverlayHeader
|
headerPositioning: ListView.OverlayHeader
|
||||||
implicitWidth: 18 * Kirigami.Units.gridUnit
|
|
||||||
implicitHeight: 18 * Kirigami.Units.gridUnit
|
|
||||||
|
|
||||||
header: Controls.Control {
|
header: Controls.Control {
|
||||||
z: 1
|
z: 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue