Skip to content

Conversation

@eblondel
Copy link

Hi @DivadNojnarg first of all many thanks for bs4Dash, really great!
Here's a small PR to give more flexibility in tabsetPanel, adding a vertical tab width arg. Indeed, when using the vertical mode, depending on the tabPanel title text length, the default width of 2, which is hardcoded now, becomes a constraint. As a result text of the tab content is overlaying the title. To fix this, a simple way is to have control on the tab width. In my case I had some of the tabPanel titles for which a tab width of 3 is more appropriate.
This width arg can be set to 2 by default to keep backward compatibility, let me know if it is ok for you.

Best
Emmanuel

@DivadNojnarg
Copy link
Member

Thanks for the PR. I'll have a look as soon as possible this week.

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

Successfully merging this pull request may close these issues.

2 participants