diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-10-20 14:20:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-10-20 16:36:17 +0200 |
commit | a25ed05617f304858c6c4c8ced93722130aa1d58 (patch) | |
tree | 48051b4af304d98410c706093c18d45beeb15560 /vcl/osx/salframe.cxx | |
parent | dbe46ae2c60dcb9da5e0fc0886c0859966db8c7d (diff) |
macos: set some more text colors explicitly from theme
noticeable if experimentally enabling dark mode
Change-Id: I2eccedc00d6b9a1710ad59bca48e06b3f7b71dc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141569
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/osx/salframe.cxx')
-rw-r--r-- | vcl/osx/salframe.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index c3729567425a..5be4d724430c 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -1301,6 +1301,9 @@ SAL_WNODEPRECATED_DECLARATIONS_POP Color aSelectedControlTextColor(getColor([NSColor selectedControlTextColor], COL_BLACK, mpNSWindow)); Color aAlternateSelectedControlTextColor(getColor([NSColor alternateSelectedControlTextColor], COL_WHITE, mpNSWindow)); aStyleSettings.SetButtonTextColor(aControlTextColor); + aStyleSettings.SetLabelTextColor(aControlTextColor); + aStyleSettings.SetRadioCheckTextColor(aControlTextColor); + aStyleSettings.SetFieldTextColor(aControlTextColor); aStyleSettings.SetDefaultActionButtonTextColor(aAlternateSelectedControlTextColor); aStyleSettings.SetActionButtonTextColor(aControlTextColor); aStyleSettings.SetFlatButtonTextColor(aControlTextColor); |