Module masonry::widget

source ·
Expand description

Common widgets.

Modules§

Structs§

  • A widget that aligns its child.
  • A button with a text label.
  • A checkbox that can be toggled.
  • A container with either horizontal or vertical layout.
  • Optional parameters for an item in a Flex container (row or column).
  • A widget that renders a bitmap Image.
  • A widget displaying non-editable text.
  • The prose widget is a widget which displays text which can be selected with keyboard and mouse, and which can be copied from, but cannot be modified by the user.
  • A widget with predefined size.
  • An animated spinner widget for showing a loading state.
  • A container containing two other widgets, splitting the area either horizontally or vertically.
  • The textbox widget is a widget which shows text which can be edited by the user
  • A mutable reference to a Widget.
  • A container for one widget in the hierarchy.
  • A rich reference to a Widget.
  • Generic state for all widgets in the hierarchy.

Enums§

  • An axis in visual space.
  • Something that can be used as the background for a widget.
  • The alignment of the widgets on the container’s cross (or minor) axis.
  • Strategies for inscribing a rectangle inside another rectangle.
  • Options for handling lines that are too wide for the label.
  • Arrangement of children on the main axis.