You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found a quite annoying bug in custom forms. It occurs only for custom forms that display sub-forms (the sub-forms can be autogenerated, drag'n drop or customized).
The size of the sub-form is limited to (approximatively) 258x277.
I've tried to change sizePolicy, minimumSize, size properties from all of the QWidgets that are the parent of the sub-form dedicated QWidget (QWidget that handle relation with qgisRelation property) but none of these changes made anything.
I've also tried to use QLayout objects but it also doesn't work. I tried to introspect into the custom-form (with a kind of dump method) and the drag'n drop one to find differences but I haven't seen any of them for the part that is related to the sub-form (which starts with a QGroupBox). It seems that the sub-form gets a fixed size (even if its properties tell something else).
I've found that when I manually move the size of the QGroupBox that embed the sub-form (with a Python Init function), I can resize it using the generic QWidget.resize() method.
I am not able to reproduce this bug with auto-generated or drag'n drop (parent) forms.
Author Name: Médéric RIBREUX (Médéric RIBREUX)
Original Redmine Issue: 11646
Affected QGIS version: 2.6.0
Redmine category:forms
Hello,
I've found a quite annoying bug in custom forms. It occurs only for custom forms that display sub-forms (the sub-forms can be autogenerated, drag'n drop or customized).
The size of the sub-form is limited to (approximatively) 258x277.
I've tried to change sizePolicy, minimumSize, size properties from all of the QWidgets that are the parent of the sub-form dedicated QWidget (QWidget that handle relation with qgisRelation property) but none of these changes made anything.
I've also tried to use QLayout objects but it also doesn't work. I tried to introspect into the custom-form (with a kind of dump method) and the drag'n drop one to find differences but I haven't seen any of them for the part that is related to the sub-form (which starts with a QGroupBox). It seems that the sub-form gets a fixed size (even if its properties tell something else).
I've found that when I manually move the size of the QGroupBox that embed the sub-form (with a Python Init function), I can resize it using the generic QWidget.resize() method.
I am not able to reproduce this bug with auto-generated or drag'n drop (parent) forms.
The text was updated successfully, but these errors were encountered: