Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTabWidget does not restore its size.
Qt 6.11 is out! See what's new in the release blog

QTabWidget does not restore its size.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 706 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mahima
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jan-Willem
      wrote on last edited by
      #2

      Hi,

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved