Important: Please read the Qt Code of Conduct -

QTabWidget does not restore its size.

  • Hi,

    I am using QTabWidget as central widget of QMainWindow and there are QDockWidgets in the QMainWindow. First time when I start the Application the width of QTabWidget is 1365. But when I open the application second time , I expect QTabWidget to restore its size but the width changes to 1624.

    I am not getting why this is happening. Do any one is having idea about the same why QTabWidget changing its size and not restoring the same size as in last session?

  • Hi,

    Hard to say. Can you show the code?
    I mean the part of QMainWindow where the QTabWidget is in?

Log in to reply