FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StackPanelImpl

    trait · ferroui-controls · v0.5.0

    trait StackPanelImpl: PanelImpl + $crate::Upcast<StackPanel>
    

    The overridable members introduced by the class.

    View source

    Members

    arrange_child

    fn arrange_child(this: &Self, child: &Ref<Control>, rect: Rect, panel_size: Size, orientation: Orientation)
    

    Arranges a single child in the slot computed by the panel.

    Source

    get_control_in_direction

    fn get_control_in_direction(this: &Self, direction: NavigationDirection, from: Option<&Ref<Control>>) -> Option<Ref<InputElement>>
    

    Gets the next control in the specified direction.

    from is the control from which movement begins.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.