freya_components

Function ResizablePanel

Source
pub fn ResizablePanel(_: ResizablePanelProps) -> Element
Expand description

Resizable panel to be used in combination with ResizableContainer().

ยงProps

For details, see the props struct definition.

  • initial_size : f32

    Initial size in factors (e.g, 1 for 25% if the total is 4, or 25 for 25% if total is 100) for this panel.

  • min_size : Option<f32>

    Minimum size in factors for this panel. Default to 25% of the initial_size.

  • children : Element

    Inner children for the ResizablePanel().

  • order : Option<usize>

    Numeric order of this panel, only use if this panel will be render conditionally.