Using images in Tabs

gui

#1

Hi There!

I’m wanting to make my own tab which draws images instead of text. What’s the best way to do this, and set the widths for the tabs?

Thank you!


#2

see the member function description here:
https://docs.juce.com/master/classTabbedButtonBar.html#a9e43a7a5671e8d9e03241053a692f1f2


#3

thanks for the reply… there seems to be a way to set the tab height, but not the width (for tabs at the top).


#4

I meant the part about returning your own custom component for use as the tab. Bottom of the page.


#5

thank you, I’ll give it a try :slight_smile: