I am wondering: what is the best way to make your
resized() functions depend on the current LookAndFeel ?
I have an application, where the user can choose between two LookAndFeels. One “retro” and one “modern”.
My application has several sliders. When the user chooses the “retro” look, I want the sliders to be positioned close together. But if the user chooses the “modern” look, there should be more space between the sliders.
The position of the sliders I set in my
resized() function ( by calling
slider.setBounds() ). But as far as I can see, the JUCE LookAndFeel class only has
paint() functions, but no
What is a good way to make the
resized() functions depend on your LookAndFeel?