Overview
When making a Node, there are certain properties that affect CoshUI's layout engine. Here are the specific attributes that you need to know.
Width and Height
Width and height are a no-brainer; they're the attributes that set the size of the Node. If you want to learn more about how these attributes work and their default behaviors, click here.
Padding and Margin
Padding and Margin — a staple in UI systems — are attributes that set the space outside and within a Node. To learn more about how they work and their default behavior, click here.
Position (x and y)
Position is a special attribute in CoshUI. This is one of the attributes that can only be set under certain circumstances. To learn more, click here.
Positioning
Postioning is the attribute that determines whether a Node is added to the normal layout calculations or taken out out of it. If you want to understand it deeply, it's best to check out the "Position (x and y)" section above this section and this page.
Align and Justify
Align and Justify determines the initial position and gap of/between Nodes. It's a very primitive and limited implementation as of version 0.2.4, so to learn the specific implementations, click here.