LookAndFeel question


#1

Hi guys,

I’ve created a few sliders using Knobman and I want to use all of them for different components in my application. I’ve created a separate LookAndFeel class for each component to draw the new sliders and I put the following in each component’s constructor…

LookAndFeel::setDefaultLookAndFeel(newLook);…

I just end up with one type of slider for all of the components when I compile the app.
Can you have more than one custom slider?

Thanks


#2

setDefaultLookAndFeel sets the global l+f for the whole app! Use Component::setLookAndFeel to set it for an individual component!


#3

That worked! Thanks Jules…


#4

I just found this. It is AWESOME. Using this to change the justification of the text in one of my buttons.