pub fn vstack<VT: ViewTuple + 'static>(children: VT) -> impl View
Expand description
Vertical stack of up to 128 Views in a tuple. Each item can be a different view type.
Examples found in repository?
More examples
examples/gallery.rs (lines 43-50)
42 43 44 45 46 47 48 49 50 51 52 53
fn main() {
rui(vstack((
"rui widget gallery".padding(10.0),
button_example(),
slider_example(),
knob_example(),
toggle_example(),
text_editor_example(),
))
.padding(Auto)
.window_title("rui widget gallery"))
}