Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Changing tab in QTabWidget
SAHIL1804 last edited by
I have made a QTabWidget and it displays properly on the screen.
I am facing an issue in changing tabs.
Initially I thought tab changing was not working, so I went back and forth between documentation and my implementation, but nothing was wrong. But now I notice that changing is working but I have to very carefully click on the bottom of the tab button. This is a very unique problem and I am not able to find a solution.
Any help would be appreciated!
JonB last edited by
If you mean the user changing tabs (as opposed to you doing so in code) there should be nothing to say: user clicks tab, tab page changes in response. Nothing for you to do in code for this.
but I have to very carefully click on the bottom of the tab button
If this is the problem, perhaps a screenshot trying to illustrate what you mean.
If it's a code issue you would have to show the relevant code.
Beside the good points of @JonB, you should also add which version of Qt you are using as well as the platform you are running your application on.