Skip to main content

bar

Function bar 

Source
pub fn bar(id: impl Into<ElementId>) -> Stateful<Div>
Expand description

The strip. Tabs go in it; a +, a ··· and anything else on the row are the caller’s, outside this.

It scrolls sideways once the tabs no longer fit. min_w_0 is what allows that — a flex child’s min-width: auto refuses to shrink below its content, so without it the strip grows past its row instead of scrolling.