[Libreoffice-bugs] [Bug 143462] Basic IDE Dark Mode: Row numbers are black with dark background

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 12 19:51:39 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143462

Andreas Heinisch <andreas.heinisch at yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreas.heinisch at yahoo.de

--- Comment #3 from Andreas Heinisch <andreas.heinisch at yahoo.de> ---
Created attachment 174243
  --> https://bugs.documentfoundation.org/attachment.cgi?id=174243&action=edit
Dark theme on windows, so I cannot provide a patch, since I cannot check the
outcome

You may add 

const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
// Adjust color to your needs, there are a lot of TextColor fields in the
settings
rRenderContext.SetTextColor(rStyleSettings.GetFieldTextColor());

https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/linenumberwindow.cxx?r=6da61d5f#80

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210812/c349b001/attachment.htm>


More information about the Libreoffice-bugs mailing list