Expand description
Advanced Layout Engine for Orbit UI Framework
This module provides a comprehensive layout system with:
- Flexbox-compatible layout properties
- Constraint-based layout calculation
- Performance optimizations with incremental updates
- Integration with the component system
Structs§
- Edge
Values - Edge values for margin, padding, border
- Gap
- Gap specification for flex containers
- Layout
Engine - Layout engine responsible for computing layouts
- Layout
Node - A node in the layout tree
- Layout
Result - Computed layout result for a node
- Layout
Stats - Performance statistics for the layout engine
- Layout
Style - Layout style properties for a node
- Point
- Represents a 2D point with x and y coordinates
- Rect
- Represents a rectangle with position and size
- Size
- Represents a 2D size with width and height
Enums§
- Align
Content - Align content controls alignment of wrapped lines
- Align
Items - Align items controls alignment along the cross axis
- Dimension
- Dimension value can be auto, fixed, or percentage
- Flex
Direction - Flex direction determines the main axis
- Flex
Wrap - Flex wrap determines whether items wrap to new lines
- Justify
Content - Justify content controls alignment along the main axis
- Layout
Error - Errors that can occur during layout calculation
- Position
Type