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. Dock Widget programmatically resizing problems

Dock Widget programmatically resizing problems

Scheduled Pinned Locked Moved Unsolved General and Desktop
dockwidgetresizesetgeometrymarginscursor
2 Posts 2 Posters 1.2k 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.
  • eduardo_parraE Offline
    eduardo_parraE Offline
    eduardo_parra
    wrote on last edited by eduardo_parra
    #1

    Hi,
    I have created an application with two dock widgets conencted, so if one of them is resized with the cursor, the other one is programmatically resized in the same size. The program works fine, but the dock widget is not properly resized, it has the correct size visually, but the cursor detect the margins where they were before the resize. So in conclusión what i want is to know how to resize a dock widget programmatically and that the new size is updated so i can grab the margins on the new position. Thanks in advance!!

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @eduardo_parra said:

      but the cursor detect the margins

      What margins?
      Do you mean for something inside the docks?

      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