From 91d5f9a14ec7ae83bfa1da9bcb747fb234b0afe1 Mon Sep 17 00:00:00 2001 From: ck Date: Mon, 23 Dec 2024 18:11:26 +0800 Subject: [PATCH] fix: region chooser window color and position error pms: Bug-297235, Bug-285879 --- src/plugin-datetime/qml/RegionsChooserWindow.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugin-datetime/qml/RegionsChooserWindow.qml b/src/plugin-datetime/qml/RegionsChooserWindow.qml index 86edb66bad..c095f2b81b 100644 --- a/src/plugin-datetime/qml/RegionsChooserWindow.qml +++ b/src/plugin-datetime/qml/RegionsChooserWindow.qml @@ -28,6 +28,10 @@ Loader { DWindow.enabled: true DWindow.enableSystemResize: false DWindow.enableBlurWindow: true + // ensure show in center of mainwindow + flags: Qt.Dialog + // default color is white + color: active ? DTK.palette.window : DTK.inactivePalette.window Item { anchors.fill: parent