Adds option to set layout='form' or layout='vertical' when adding widget to FormDialog.
Update [4/8/21]:
To avoid breaking backwards compatability, I added a new method: addSpanningWidget which allows a widget with spanning role to be added to the form.
Previously, these changes broke compatibility:
In UIFormWidget I had to change the order of the input parameters to addWidget, because I made qlabel an optional kwarg because it isn't needed if we have a widget with spanning role. This breaks backwards compatibility.
Closes #10.
Adds option to set layout='form' or layout='vertical' when adding widget to FormDialog.
Update [4/8/21]: To avoid breaking backwards compatability, I added a new method: addSpanningWidget which allows a widget with spanning role to be added to the form.
Previously, these changes broke compatibility: In UIFormWidget I had to change the order of the input parameters to addWidget, because I made qlabel an optional kwarg because it isn't needed if we have a widget with spanning role. This breaks backwards compatibility.