mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Resize vertical layouts
This commit is contained in:
@@ -171,6 +171,14 @@ impl Default for MyApp {
|
||||
let e = nodes.insert_leaf(gen_view());
|
||||
nodes.insert_horizontal_node(vec![a, b, c, d, e])
|
||||
});
|
||||
tabs.push({
|
||||
let a = nodes.insert_leaf(gen_view());
|
||||
let b = nodes.insert_leaf(gen_view());
|
||||
let c = nodes.insert_leaf(gen_view());
|
||||
let d = nodes.insert_leaf(gen_view());
|
||||
let e = nodes.insert_leaf(gen_view());
|
||||
nodes.insert_vertical_node(vec![a, b, c, d, e])
|
||||
});
|
||||
tabs.push({
|
||||
let a = nodes.insert_leaf(gen_view());
|
||||
let b = nodes.insert_leaf(gen_view());
|
||||
|
||||
Reference in New Issue
Block a user