I can't see your code, it seems to be swallowed by something. You could try to add after the resize also the following line (untested experiment)
dialog.window().saveGeometry() Matthias On 01/06/2015 05:33 PM, Guillaume wrote: > Hi Matthias, > > Thank you for your quick response. > > This code works when I click resize button (open) I created , thanks. > But at first opening of form window is not the right size as if function was > not read ... > > Here is my code structure: > > > > Strange is not it? > > Regards, > Guillaume > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/QGIS-2-6-ui-form-window-size-tp5180053p5180211.html > Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
