# Using images in Tabs

**URL:** <https://forum.juce.com/t/using-images-in-tabs/29592>\
**Category:** General JUCE discussion\
**Created:** [September 25, 2018, 3:10am UTC](https://forum.juce.com/t/using-images-in-tabs/29592 "2018-09-25T03:10:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nigelstanford](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/nigelstanford/32/10142_2.png) [@nigelstanford](https://forum.juce.com/u/nigelstanford)\
**Post date:** [September 25, 2018, 3:10am UTC](https://forum.juce.com/t/using-images-in-tabs/29592/1 "2018-09-25T03:10:28Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![matkatmusic](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@matkatmusic](https://forum.juce.com/u/matkatmusic)\
**Post date:** [September 25, 2018, 6:10am UTC](https://forum.juce.com/t/using-images-in-tabs/29592/2 "2018-09-25T06:10:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nigelstanford](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/nigelstanford/32/10142_2.png) [@nigelstanford](https://forum.juce.com/u/nigelstanford)\
**Post date:** [September 25, 2018, 9:06pm UTC](https://forum.juce.com/t/using-images-in-tabs/29592/3 "2018-09-25T21:06:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![matkatmusic](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@matkatmusic](https://forum.juce.com/u/matkatmusic)\
**Post date:** [September 25, 2018, 9:13pm UTC](https://forum.juce.com/t/using-images-in-tabs/29592/4 "2018-09-25T21:13:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nigelstanford](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/nigelstanford/32/10142_2.png) [@nigelstanford](https://forum.juce.com/u/nigelstanford)\
**Post date:** [October 1, 2018, 3:29am UTC](https://forum.juce.com/t/using-images-in-tabs/29592/5 "2018-10-01T03:29:17Z")

</div>

thank you, I’ll give it a try 🙂
