Skip to content

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

@mfreeborn

Description

@mfreeborn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions