[PATCH] Support dark mode in workarea

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sat Dec 12 14:05:42 UTC 2020


Le 12/12/2020 à 11:02, Jürgen Spitzmüller a écrit :
> One issue I see is that the IconInfo inset does not use the adapted
> icons; it loads the icon files directly via graphic inset.
> 
> This could be fixed by using a QPixmap (or QImage) via QPainter
> instead. Then we can just do the same overlay we do for the toolbars.
> 
> This would be good anyway (using InsetGraphics here strikes me a
> misuse). Alas, I have no idea how to do that. Probably we need to re-
> implement something similar to RenderGraphic::draw to InsetInfo.

Displaying InsetInfo as an InsetText may have seemed a good idea at some 
time, but it creates a lot of issues, unfortunately.

JMarc


More information about the lyx-devel mailing list