From e992658c125d318f7b7583bef57af65aff21a8c9 Mon Sep 17 00:00:00 2001 From: DoubleNegation <43982164+DoubleNegation@users.noreply.github.com> Date: Mon, 28 Jun 2021 13:39:56 +0200 Subject: [PATCH] DisplaySettings: Adjust FontSettings.gml to work with dark themes The FontSettings widget now uses background_role instead of background_color to ensure that it displays properly independently of the active system theme. --- Userland/Applications/DisplaySettings/FontSettings.gml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Applications/DisplaySettings/FontSettings.gml b/Userland/Applications/DisplaySettings/FontSettings.gml index 8231dee770..c4ebe09fb7 100644 --- a/Userland/Applications/DisplaySettings/FontSettings.gml +++ b/Userland/Applications/DisplaySettings/FontSettings.gml @@ -20,7 +20,7 @@ } @GUI::Frame { - background_color: "white" + background_role: "Base" fill_with_background_color: true layout: @GUI::VerticalBoxLayout { @@ -53,7 +53,7 @@ } @GUI::Frame { - background_color: "white" + background_role: "Base" fill_with_background_color: true layout: @GUI::VerticalBoxLayout {