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. Qt is shifting the old widget content during a resize

Qt is shifting the old widget content during a resize

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 309 Views
  • 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.
  • Q Offline
    Q Offline
    qt101
    wrote on last edited by
    #1

    When I resize a widget, I have noticed a lot of flickering is happening.

    It appears that the old window content is shifted along with the splitter.
    Then when the widget is redrawn, the contents are drawn in a slightly different location.
    This is resulting in a lot of flickering.

    I have tried aligning my widget to the right, it still shifts with the old window content as if it is joined to the splitter by its left side.

    The final draw is correct, I just want to prevent the shifting of the old widget content that is occuring.
    Can anyone explain how to do this?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @qt101 said in Qt is shifting the old widget content during a resize:

      Can anyone explain how to do this?

      Not without seeing a sample code which demonstrates the issue. Which platform do you use and which Qt version? I'm not aware of such a problem on Linux and Windows

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      3

      • Login

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