Improve usability of layouts
The following issues have been sources of confusion for our first layout user:
- Having to assign a position in order to assign a span is confusing.
- Putting whitespace into a cell isn't documented anywhere.
- Providing a column_span that would extend a cell beyond the end of the grid doesn't throw an error.
I'm also going to create a new doc section that contains examples and images of the grids they produce.
Also, the following bugs have been discovered during testing in TOPAZ:
- Calling
add_child(html.Div())
triggers a double render of the div, even inside of theGridLayout
context. - Alignment parameter isn't behaving as expected for
HBoxLayout
. - Children of a
VBoxLayout
inside of anHBoxLayout
don't stretch correctly in flexbox.