Expand description
Resizable Panel Component (shadcn/ui style)
Resizable panel groups with draggable handles between panels.
use armas_basic::prelude::*;
let panels = vec![
ResizablePanel::new(0.25),
ResizablePanel::new(0.75),
];
let mut resizable = Resizable::new("split", ResizableDirection::Horizontal);
resizable.show(ui, &panels, |ui, index| {
ui.label(format!("Panel {}", index + 1));
});Structs§
- Resizable
- Resizable panel group — panels separated by draggable handles.
- Resizable
Panel - Configuration for a single panel in a resizable group.
- Resizable
Response - Response from a resizable panel group.
Enums§
- Resizable
Direction - Direction of the resizable panel group.