Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to set QTabBar 's tab to the max width?
lvshuchengyin last edited by
I reimplement the QTabBar and setExpanding(ture);
and I use qss to set the tabs width:
When the tabbar has a lot of free space and the tab's title has few word, the tab will have mininum width.
How the let the tab have the max-width when the title has few word?
By the way , I have to set the min-width because when has many tabs, it can zoom out.