mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
form widgets This exposes two new "size" options for edit form widgets, allowing control over the horizontal and vertical stretch factors for the widget. By setting a horizontal or vertical stretch, users can control how edit widgets will relatively resize when resizing an attribute form. Eg a user can set a higher horizontal stretch value for widgets which should "grab" more of the available horizontal space, eg for those widgets which are expected to have longer values and accordingly will benefit from the extra space. Similarly, the vertical stretch setting controls how widgets will relatively grow vertically when resizing forms vertically. (Note that only some widgets can vertically grow -- eg. spin boxes can't be stretched vertically!) Together these options give more control to users over the exact layout and sizing of their attribute forms. By default, the stretch values are set to "Default" which is the same as previous behavior.