Qt World Summit: Submit your Presentation

QDockWidget resize - only one pixel border to grab

  • Hello,

    I think this is a common problem, but I could not find a solution to it:

    When there is a floating QDockWidget it is displayed as framelss window. Now when I want to resize it by grabbing it at the frame there is only a one pixel line I have to catch. This is kind of impossible on a high resolution screen.
    So is there an option to make the are wider than one pixel?

    What Ive tried is using a QSizeGrip, but this is only on the bottom right and not around the window.
    Also setting the windowFlags to QT::Dialog does not work since it will break the dockability.

  • Lifetime Qt Champion


    What version of Qt are you using ?
    What OS are you running ?

  • Its Qt 5.13 on Debian, however when i test it on Windows the behavior is the same.

  • Lifetime Qt Champion

    Can you provide a minimal compilable example that shows that behaviour ?

Log in to reply