When creating a style, are the font style and font size coupled together?
I'm trying to figure out the TTF_FONT macro when creating my style set. I have a specific color and specific font that I want to make available as a style, but there are multiple font sizes that I want to utilize.
From my style file:
Note that very last line -- if I don't supply both the font and a size, compiling complains.
When I apply the style to my Slate widget:
I thought perhaps I could use this style with a set font, and then when I apply the style to a STextBlock widget, I could then override the style's font with a .FontSize or something, but nothing like that seems to exist. Does this mean the font and size are coupled together? Do I really need to make a separate style for every size of this text block style that I want to utilize?
Thanks in advance for any insight!
asked May 17 '18 at 09:43 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here