# LookAndFeel question

**URL:** <https://forum.juce.com/t/lookandfeel-question/5929>\
**Category:** General JUCE discussion\
**Created:** [November 25, 2010, 2:53am UTC](https://forum.juce.com/t/lookandfeel-question/5929 "2010-11-25T02:53:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![omen](https://avatars.discourse-cdn.com/v4/letter/o/aca169/32.png) [@omen](https://forum.juce.com/u/omen)\
**Post date:** [November 25, 2010, 2:53am UTC](https://forum.juce.com/t/lookandfeel-question/5929/1 "2010-11-25T02:53:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [November 25, 2010, 9:48am UTC](https://forum.juce.com/t/lookandfeel-question/5929/2 "2010-11-25T09:48:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![omen](https://avatars.discourse-cdn.com/v4/letter/o/aca169/32.png) [@omen](https://forum.juce.com/u/omen)\
**Post date:** [November 25, 2010, 10:30am UTC](https://forum.juce.com/t/lookandfeel-question/5929/3 "2010-11-25T10:30:45Z")

</div>

That worked! Thanks Jules…

---

<div class="post-metadata">

**Author:** ![valhalladsp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/valhalladsp/32/71_2.png) [@valhalladsp](https://forum.juce.com/u/valhalladsp)\
**Post date:** [March 7, 2011, 3:04am UTC](https://forum.juce.com/t/lookandfeel-question/5929/4 "2011-03-07T03:04:08Z")

</div>

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