From 69aa3b3753993109917f2a7bdda801d550bc6ba8 Mon Sep 17 00:00:00 2001 From: reionwong Date: Thu, 10 Jun 2021 00:53:39 +0800 Subject: [PATCH] Fix polkit dialog in dark mode --- polkit-agent/main.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/polkit-agent/main.qml b/polkit-agent/main.qml index 0ce5dbb..097e66c 100644 --- a/polkit-agent/main.qml +++ b/polkit-agent/main.qml @@ -7,7 +7,7 @@ Rectangle { id: root width: 550 - height: column.implicitHeight + radius * 4 + height: mainLayout.implicitHeight + radius * 4 radius: FishUI.Theme.bigRadius color: FishUI.Theme.backgroundColor @@ -42,7 +42,7 @@ Rectangle { ColumnLayout { id: column - spacing: FishUI.Units.smallSpacing + spacing: FishUI.Units.largeSpacing Text { text: confirmation.message @@ -52,10 +52,7 @@ Rectangle { maximumLineCount: 2 wrapMode: Text.Wrap elide: Text.ElideRight - } - - Item { - height: FishUI.Units.smallSpacing + color: FishUI.Theme.textColor } TextField {