Skip to content

Maximum height and width are set in ctor and never updated. Longer labels get truncated. #2

@CarlosNihelton

Description

@CarlosNihelton

Hi benadler. Awesome clean up you did on FancyTabBar class from QtCreator. I was searching for something exactly like that for my next project!
I realized that when we put longer strings they get truncated due to the maximum width and height being setup during ctor and never updated (at least when the fancytabbar is set vertically). I forked your repo and altered the FancyTabBar::setTabEnabled to update the maximum values to correct the issue.

If you want to see the issue I'm talking about just replace the labels on your demowindow.cpp with longer strings and see what happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions