import fluid; // A vspace will align all its content in a column vspace( label("First entry"), label("Second entry"), label("Third entry"), ); // hspace will lay out the nodes in a row hspace( label("One, "), label("Two, "), label("Three!"), ); // Combine them to quickly build layouts! vspace( label("Are you sure you want to proceed?"), hspace( button("Yes", delegate { }), button("Cancel", delegate { }), ), );
This is a space, a basic container for other nodes.
Nodes are laid in a column (vframe) or in a row (hframe).
Space only acts as a container and doesn't implement styles and doesn't take focus. It's very useful as a helper for building layout, while Frame remains to provide styling.