Closed UkoeHB closed 10 months ago
Interesting... This is a great idea. I like it. I will add this once I do another iteration on the container part of the lib.
Will be added in 0.0.7
release 🥂
let menu = RelativeLayout::new().build(tree, "Menu")?;
let boundary = SolidLayout::new().with_size(5.0, 10.0).build(tree, menu.end("Boundary"))?;
I think widget builders would improve ergonomics substantially. It doesn't seem like element builders would be quite as useful though.
Before:
After: