Expand description
Layout calculations apart from ratatui/Layout.
Structs§
- Generic
Layout - Stores layout data resulting from some layout algorithm.
- Layout
Form - Create layouts for input widgets.
- Layout
Outer - This lets you define the outer bounds of a target area.
Enums§
- Dialog
Item - Edit
Constraint - Constraint data for layout_edit
- Form
Label - Label constraints for LayoutForm.
- Form
Widget - Widget constraints for LayoutForm.
Functions§
- layout_
as_ grid - Calculates a full grid of rects from the horizontal and vertical components.
- layout_
dialog - Calculates a layout for a dialog with buttons.
- layout_
edit - Layout for an edit mask with lots of label+widget pairs.
- layout_
middle - Calculate the middle Rect inside a given area.
- simple_
grid - Create a basic grid of areas using the given Constraints.