vcl/source/window/status.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit c7a29af1d77c4e1483154b262c7c621067cd2685
Author:     Heiko Tietze <[email protected]>
AuthorDate: Mon Jan 12 11:48:05 2026 +0100
Commit:     Heiko Tietze <[email protected]>
CommitDate: Tue Jan 13 11:38:17 2026 +0100

    Related tdf#170143 - Statusbar text color should consider themed colors
    
    Change-Id: Id40c6172a557f56f757de49415f5abf586fcca72
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197086
    Reviewed-by: Heiko Tietze <[email protected]>
    Tested-by: Jenkins

diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index 16e5d6ec4e0c..e56eb69f9305 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -411,6 +411,11 @@ void StatusBar::ImplDrawItem(vcl::RenderContext& 
rRenderContext, bool bOffScreen
 
         if (bOffScreen)
         {
+            if (ThemeColors::IsThemeEnabled())
+            {
+                const StyleSettings& rStyleSettings = 
rRenderContext.GetSettings().GetStyleSettings();
+                
mpImplData->mpVirDev->SetTextColor(rStyleSettings.GetWindowTextColor());
+            }
             mpImplData->mpVirDev->DrawText(
                         aTextPos,
                         pItem->maText,

Reply via email to