Skip to content

Enable: Fill holes in constraints layout documentation #706

@jwiggins

Description

@jwiggins

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions