Feature request #8784
Set Drag and Drop Forms windows size
|Pull Request or Patch supplied:
|Copied to github as #:
In QGIS 2.0 it is possible to define the window size of custom forms in the designer, and QGIS will respect that.
But there is no way to set the form size, in the case of drag and drop forms. Every time the form opens, returns to the default (width/height) window size.
It would be interesting to be able to define the size of the window form in the Layer properties -> Fields, together with the creation of the drag and drop form itself.
#4 Updated by Pedro Venâncio over 9 years ago
Setting the size is the wrong way to go IMO it should just remember the size it was set to last like everything else.
Yes, after Matthias suggested this way, I also thought it's even better than how I originally suggested the feature request.
Custom forms should should always open at the designer set size because it would be done for a reason.
On first use, the size will always be the defined in QT designer, right? Ie, that size will be changed only if the users modify it.
Different situation is the case where you set a fixed size to the form (I believe it is possible in QT designer). In this case, it should not be possible to change the original size of the form in any way. Does this change may interfere with that option?
#6 Updated by Matthias Kuhn over 9 years ago
Qt designer will save a fixed size in most cases, so it's not possible to distinguish if it was intentional or not.
The current implementation will remember the dialog size application wide and not on a per-dialog basis. This might be considered for future releases.