The constraints layout documentation is pretty good, but not so good that everyone gets it right the first time they try to use it. Some holes:
hbox points out that it cares about the height of components but horizontal does not mention that it ignores height (and might zero out the height of your components absent other constraints).
- Ditto for
vbox and vertical (but replace "height" with "width")
auto_size should probably be ignored when using ConstraintsContainer.
- Elaborate on the relationship between
bounds, position, and the constraints variables (CoordinateBox._constraints_vars)
- Note that components might end up with a size of 0 if they are incompletely constrained.
The constraints layout documentation is pretty good, but not so good that everyone gets it right the first time they try to use it. Some holes:
hboxpoints out that it cares about the height of components buthorizontaldoes not mention that it ignores height (and might zero out the height of your components absent other constraints).vboxandvertical(but replace "height" with "width")auto_sizeshould probably be ignored when usingConstraintsContainer.bounds,position, and the constraints variables (CoordinateBox._constraints_vars)