Important: Please read the Qt Code of Conduct -

Dock Widget programmatically resizing problems

  • 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!!

  • Lifetime Qt Champion

    @eduardo_parra said:

    but the cursor detect the margins

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