views:

21

answers:

0

Hi folks,

I'm facing a problem with one of my QDockWidget. I have several QWidget items in a QDockwidget that are sometimes visible sometimes not.

I would like that my QDockWidget resizes itself depending on its content... Not only when QWidgets appear in it, but also when they disappear...

So far, my QDockWidget resizes itself when more QWidgets are displayed in it, but when I make them disappear, the QDockWidget stays at his previous size...

Any ideas to help ?

Thanks in advance!