Nominate our 2022 Qt Champions!

QDockWidget resize ..

  • I have QWidget widgetA setWidget on QDockwidget dockA and widgetA has verticalLayout on setLayout.

    This verticallayout has a QGroupBox added.

    When I click on GraphicsItem in QGraphicsView, WidgetA is displayed in dockA.

    Even if you resize it, it can not be created in the desired size.

    If you use setFixedSize, you should not be able to resize with the mouse. Please.

  • Lifetime Qt Champion


    That's not really clear. Can you show the code you are using ?
    Maybe a picture of what you are expecting VS what you are getting ?

Log in to reply