Expand description
Layout components Layout helpers
Minimal utilities for specialized layout needs:
- AspectRatio - Maintain aspect ratio with fit/fill modes
- Table - Responsive table with shadcn/ui styling
- BentoGrid - Variable-sized tile grid layout
§For everything else, use egui’s built-ins:
- Vertical/Horizontal layouts:
ui.vertical(),ui.horizontal() - Grids:
egui::Grid - Max width:
ui.set_max_width() - Spacing:
ui.add_space() - Separators: Use
Separatorcomponent
For advanced layout (Flexbox, CSS Grid), consider using egui_taffy.
Re-exports§
pub use resizable::Resizable;pub use resizable::ResizableDirection;pub use resizable::ResizablePanel;pub use resizable::ResizableResponse;
Modules§
- resizable
- Resizable Panel Component (shadcn/ui style)
Structs§
- Aspect
Ratio - Maintain aspect ratio wrapper
- Bento
Grid - Bento grid layout component
- Table
Cells - Builder for table cells
- Table
Rows - Builder for table rows
Enums§
- Content
Mode - How content should be sized within the aspect ratio container
- Grid
Span - Grid item span configuration
Functions§
- cell
- Add a text cell to the current row
- cell_ui
- Add a custom cell with custom content
- header_
row - Add a header row to the table
- row
- Add a data row to the table
- table
- A table component following shadcn/ui design