diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2023-05-17 16:48:30 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-05-23 09:44:21 +0200 |
commit | 258686a58f909ab04c7281c05f15882eb400748e (patch) | |
tree | bc80185e801622d30b2be2fe3b6f182aad1fc316 /vcl/unx | |
parent | dc11f5b151e1a2ea2623fc8cf806a400763955d9 (diff) |
Resolves tdf#145080 - Use accent color for focused cell
Accent color added but effectively working only on macOS
See inline comments for gtk, qt, and win
Change-Id: I1e4a729331735683921f94b27bb2bb02555c0165
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151887
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk3/salnativewidgets-gtk.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/salnativewidgets-gtk.cxx b/vcl/unx/gtk3/salnativewidgets-gtk.cxx index b5efe1b59ddc..425c642d45fd 100644 --- a/vcl/unx/gtk3/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/salnativewidgets-gtk.cxx @@ -2420,6 +2420,7 @@ bool GtkSalGraphics::updateSettings(AllSettings& rSettings) ::Color aHighlightColor = style_context_get_background_color(pCStyle); style_context_get_color(pCStyle, &text_color); ::Color aHighlightTextColor = getColor( text_color ); + aStyleSet.SetAccentColor( aHighlightColor ); // https://debugpointnews.com/gnome-native-accent-colour-announcement/ aStyleSet.SetHighlightColor( aHighlightColor ); aStyleSet.SetHighlightTextColor( aHighlightTextColor ); aStyleSet.SetListBoxWindowHighlightColor( aHighlightColor ); |