summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-10-21 21:36:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-10-22 13:21:02 +0200
commit66ac4d9171fee9d425d3301933c1eb8e85c25933 (patch)
treebedd089fe56d3e8690ed4c85f9c0b06030246ad6 /vcl
parent9fd78b7421b5acefc8d0bde7cc103a045d79bd04 (diff)
macos: set Dialog and DialogText color explicitly from theme
noticeable in start center wrt dark/light logo variant if experimentally enabling dark mode Change-Id: I181399861878d797f207da903c3c21d7f8ed7576 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141656 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/osx/salframe.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index ef79254de304..3af750df4c7a 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1336,6 +1336,9 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
aStyleSettings.SetDefaultButtonTextColor(aSelectedControlTextColor);
}
+ aStyleSettings.SetDialogColor(aWindowBackgroundColor);
+ aStyleSettings.SetDialogTextColor(aControlTextColor);
+
// Set text colors for tabs according to OS settings
aStyleSettings.SetTabTextColor(aControlTextColor);