I am having trouble following the LookAndFeel Tutorial.
According to the “Cusomizing Color” Section, I coded this:
in My Component.h:
private:
juce::LookAndFeel_V4 m_LookAndFeelIcons;
and in it’s constructor:
m_LookAndFeelIcons.setDefaultSansSerifTypeface(MyBinaryAssets::MyTypeFace);
someBTN.setLookAndFeel(&m_LookAndFeelIcons);
But the Button does not change it’s font…?
When I do something like:
someBTN.getLookAndFeel().setDefaultSansSerifTypeface(MyBinaryAssets::MyTypeFace);
It does work, but it changes the Font of all my buttons…
Am I missunderstanding something?