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 <heiko.tietze@documentfoundation.org> Tested-by: Jenkins
This commit is contained in:
committed by
Heiko Tietze
parent
faddfc7942
commit
c7a29af1d7
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user