[PATCH] Support dark mode in workarea

Jürgen Spitzmüller spitz at lyx.org
Sun Dec 13 08:53:34 UTC 2020


Am Samstag, dem 12.12.2020 um 15:05 +0100 schrieb Jean-Marc Lasgouttes:
> 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.

I see.

I have now addressed the issue at least in a tentative way.

Jürgen

> 
> JMarc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201213/fa51468e/attachment.asc>


More information about the lyx-devel mailing list