Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to set fixed tabs width in TabContainer #2318

Open
me2beats opened this issue Feb 19, 2021 · 2 comments
Open

Add a way to set fixed tabs width in TabContainer #2318

me2beats opened this issue Feb 19, 2021 · 2 comments

Comments

@me2beats
Copy link

Describe the project you are working on

plugins

Describe the problem or limitation you are having in your project

I need tabs with fixed size like here
tab container fixed tab width
This is often a better UX practice than tabs headers with different sizes depending on title widths.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

An ability to set fixed tabs width would solve the problem

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

void set_tabs_width(width:int)

If this enhancement will not be used often, can it be worked around with a few lines of script?

It seems, creating a custom container with fixed tab size is the only right option, which is not a few lines.

Is there a reason why this should be core and not an add-on in the asset library?

I think this could be useful; this is a good UX practice; many modern GUI frameworks have an option to set tab headers fixed width.

@Calinou
Copy link
Member

Calinou commented Feb 19, 2021

The Tabs node (but not TabContainer) is supposed to have a minimum tab size theme item, but it doesn't work – see the Tabs Min Size editor setting.

@neruthes
Copy link

neruthes commented Jul 6, 2024

I am in need of this. Alternatively, we can add an option for removing the ellipses at the end so we can add 100 extra whitespace characters to occupy horizontal space.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants