From 4860e78bd3435d30ac149e65891c4c46de4654f1 Mon Sep 17 00:00:00 2001 From: Andy <xandyx@riseup.net> Date: Sun, 12 Mar 2023 16:36:55 +0100 Subject: [PATCH] Change theme from Light to System --- qtquickcontrols2.conf | 2 +- ui/main.qml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qtquickcontrols2.conf b/qtquickcontrols2.conf index 20b7d9a..3026f89 100644 --- a/qtquickcontrols2.conf +++ b/qtquickcontrols2.conf @@ -6,7 +6,7 @@ Style=Material [Material] -Theme=Light +Theme=System ;Accent=BlueGrey Primary=Red ;Foreground=Brown diff --git a/ui/main.qml b/ui/main.qml index 32b6f40..054f10b 100644 --- a/ui/main.qml +++ b/ui/main.qml @@ -31,6 +31,8 @@ import "Icon.js" as MdiFont ApplicationWindow { id: root + Material.theme: Material.System + LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft LayoutMirroring.childrenInherit: true -- GitLab