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

Setting Tabs::tab_bar_width to Length::Shrink doesn't respect the content of the individual tabs #318

Open
mfreeborn opened this issue Jan 26, 2025 · 0 comments

Comments

@mfreeborn
Copy link

The quickest way to demonstrate is to add .tab_bar_width(Length::Shrink) immediately after Line 133 in the example.

The result is this:

Image

I would expect (indeed, what I am trying to achieve) that the tabs shrink down to the smallest width that would still fit the contents of each individual tab. I.e. the width of the tabs would not automatically fill the available width.

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

No branches or pull requests

1 participant