Skip to main content

add_beside

Function add_beside 

Source
pub fn add_beside<P: Panel>(
    dock: &Entity<DockArea>,
    panel: Entity<P>,
    beside: Option<(EntityId, Placement)>,
    window: &mut Window,
    cx: &mut App,
)
Expand description

Adds panel to the dock’s centre, split off beside (another view’s entity) at placement when it is there.