Problem with frame inset
Dan
d3vf4n at tutanota.com
Tue Sep 19 13:43:15 UTC 2023
> This is since "InsetLayout Box" (in stcinsetc.inc) sets the label color
> to "foreground" (the text color), which is not a good idea in dark
> mode. Setting it to static "black" fixes the issue. I'll do this in
> master.
>
> --
> Jürgen
>
I have come across the very same problem again with listing buttons (when editing externally). The solution is the very same as well.
STEPS TO REPRODUCE:
1. Insert > Program listing
2. Type something in.
3. Open context menu (right clic) and choose "Edit externally".
4. A button for the program listing inset shows whose text is barely readable. See attached image.
SOLUTION:
I have tried mimicking your solution to the previous problem: switching the label's text colour from "foreground" to "black". See the text attachment (diff of changes to lib/layouts/stdinsets.inc)
Daniel.
--
Enviat amb Tutanota.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lyx-computer-code-inset-button.png
Type: image/png
Size: 45293 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230919/c5c148f0/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.stdinsets.inc
Type: application/octet-stream
Size: 79 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230919/c5c148f0/attachment-0001.obj>
More information about the lyx-users
mailing list