Module prelude
Source - DashedLine
- RoundedLine
- Layoutable
- Defines any Layoutable element (anything that can be layouted)
- bordered
- Generate a border around a layouted element
- callback_placement
- Get a callback from the layout process about the final placement of the containing element. So you can
map a touched point onto the correct element
- center
- Arrange a layoutable into the center of its available space
- east
- Arrange a layoutable into the right middle of its available space
- expand
- remove the maximum size constraints (set width and height to u32::MAX)
- expand_horizontal
- Let the containing element expand horizontally
- expand_vertical
- Let the containing element expand vertically
- horizontal_layout
- Arguments
- north
- Arrange a layoutable into the top center of its available space
- optional_placement
- Updates the placement onto a Option
- owned_text
- Generates a Layoutable text around a owned (possible generated) string
- padding
- Adjust placement of a component by adding/removing additional offsets
- scale
- Draws a simple scale consisting of 2x2 Dots onto a given space.
- south
- Arrange a layoutable into the bottom center of its available space
- vertical_layout
- Stack multiple layout elements vertically
- west
- Arrange a layoutable into the left middle of its available space