Adapt panel tab size to content



I don’t know if it’s possible, but I have been struggling to dynamically adapt the panel tab size to its content (title) without any success.

So is it possible ?

Thank you very much in advance.


Are you talking about the tabs of the open files? If so, the settings are in the tabs package.

Edit: No they’re not. They are in the UI theme settings (see below)


Thank you for your response.

I have taken a screenshot:

Hoping I was clearer.

Thank you very much in advance.


I’m still a little confused; do you want the size of the entire right hand pane (the one with the Settings tab) to change width dynamically?

Or are you talking about the little rectangles in the tab bar?


Thank you.

I am talking about the rectangles/tabs. If a title (name of the file) is too long the tab won’t adjust it’s size. It will stay the same. I would like to see the entire file name.

Thank you in advance.


Found this

Same method. Go to your current UI theme and select Maximum tab sizing. This will show an entire file name if possible.


Thank you.

For atom material it’s indeed quite the same.

Just one last question, I suppose it’s not possible to do it vs styles.less ?

Thank you in advance.


It sure is.

.tab-bar .tab {
  max-width: 100%;


Thank you very much for your help :smile: