Hi,

I am working on a QGIS plugin which is based on QGIS plugin Builder dock widget 
template. The default behavior of this template is that the dock widget is not 
restored after closing and reopening QGIS. Here is the repo of my plugin:
https://github.com/jbp35/layout_panel

I managed to reopen the dock widget automatically when QGIS starts by calling 
the run() function from initGui() function. However, the dimensions of the 
widget is not saved and I am not able to figure out how to restore the width 
and height of the widget. I tried to use QDockWidget::restoreGeometry without 
success. Could someone please point me how to achieve this? Thanks!

Best,

--
Jean-Baptiste PETER

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to