[Solved] Invalid solution for Hiding tab from QTabWidget made in QtCreator
-
The solution given on the closed thread
"https://qt-project.org/forums/viewthread/24364":[Solved] Hiding tab from QTabWidget made in QtCreatoris invalid because it references the wrong object. The idea in the thread is clever but the correct solution is
@QTabBar::tab:disabled {width:0px;height:0px;margin:0px;padding:0px;border:none;}@This solution uses QTabBar instead of the incorrect QTabWidget.