foleys_gui_magic icon indicating copy to clipboard operation
foleys_gui_magic copied to clipboard

Make decorator captions respect LookAndFeel's font

Open isnotinvain opened this issue 1 month ago • 2 comments

isnotinvain avatar Dec 07 '25 01:12 isnotinvain

Thanks for the suggestion. I would definitely not use getPopupMenuFont(). I would probably not use the LookAndFeel at all. It makes sense for a system for developers, but not for a dynamic system. The whole topic custom fonts is missing, not only for the caption, but in many places. What I had in mind was to add fonts to the BinaryData and offer a property dropdown where it applies. The caption could fetch this value directly, and bundled LookAndFeels could then be adapted to use the font from the XML.

ffAudio avatar Dec 13 '25 21:12 ffAudio

Ya, better direct support for custom fonts would be great! Currently the look and feel has lots of font related methods that do get respected as far as I can tell -- any reason to not have one for captions? Or you'd rather wait for a custom fonts refactor?

isnotinvain avatar Dec 14 '25 00:12 isnotinvain