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
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel