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
QtWS25 Last Chance

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.
  • E Offline
    E Offline
    eduardo_parra
    wrote on 9 May 2016, 11:21 last edited by eduardo_parra 5 Sept 2016, 11:22
    #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
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 9 May 2016, 11:30 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

      2/2

      9 May 2016, 11:30

      • Login

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