If this is what you are looking for:
You can do it with this:
The only properties I changed were align = justify
in flow_panel_1
and expand = True
in column_panel_3
, then added this code:
Press Alt+Shift+F to format according to pyproject.toml. There is a default implementation that (I assume) agrees with PEP 8, but you can change it (see here and here)
Optional doesn’t need forbidden
__init__.py
does not contain “the entire code base”. It only contains the event handlers for that specific form, plus you are free to add whatever you want to add. It’s up to you. I don’t add anything to the form code beside the event handlers. All my client side logic goes into other modules.