Change the width of tabs in tabbedComponent buttonBar

Hi there, I’m trying to figure out how to change the width of the tabs on a tabbedComponent with the orientation set to TabbedButtonBar::Orientation::TabsAtTop.

In this configuration it’s very straight forward to change the height of the buttons by calling:

void TabbedComponent::setTabBarDepth (const int newDepth);

but it seems quite involved to change the width of the very same buttons. Am I missing something? Is there a simple way of doing this or am I going to have to sub class some stuff? Thanks!

Override LookAndFeel::getTabButtonBestWidth in your LookAndFeel subclass.

success! Thanks so Much Dave