# Tabbed Component - TabBarButton Scaling

**URL:** <https://forum.juce.com/t/tabbed-component-tabbarbutton-scaling/65712>\
**Category:** General JUCE discussion\
**Created:** [April 2, 2025, 10:03am UTC](https://forum.juce.com/t/tabbed-component-tabbarbutton-scaling/65712 "2025-04-02T10:03:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spiffo](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@spiffo](https://forum.juce.com/u/spiffo)\
**Post date:** [April 2, 2025, 10:03am UTC](https://forum.juce.com/t/tabbed-component-tabbarbutton-scaling/65712/1 "2025-04-02T10:03:44Z")

</div>

Hi, can anyone help me identify which LookAndFeel function I need to override to get the TabBarButtons to scale with the UI, including their text?

It feels like if I can scale **tabDepth** then everything else should fall into place, but I cannot seem to figure that one out?

I see various functions in LookAndFeel\_V2 like:  
getTabButtonBestWidth()  
createTabButtonShape()  
fillTabButtonShape()  
etc…

But none of them seem to be what I’m after…
