pub fn add_beside<P>(
dock: &Entity<DockArea>,
panel: Entity<P>,
beside: Option<(EntityId, Placement)>,
window: &mut Window,
cx: &mut App,
)where
P: Panel,Expand description
Adds panel to the dock’s centre, split off beside (another view’s entity) at placement
when it is there.