Horizontal Box (HBox)
Horizontal Box arranges items in a horizontal row. Every element will have the same height (the height of the tallest item in the container) and objects will be left-aligned at their minimum width.
Vertical Box (VBox)
Vertical Box arranges items in a vertical column. Every element will have the same width (the width of the widest item in the container) and objects will be top-aligned at their minimum height.
Center layout positions all container elements into the center of the container. Every object will be set to it’s minimum size.
Grid layout arranges items equally in the available space. A number of columns is specified, objects will be positioned horizontally until the number of columns is reached at which point a new row is started. All objectts have the same size, that is width divided by column total and the height will be total height divided by the number of rows required. Minus padding.
GridWrap layout arranges all items to flow along a row, wrapping to a new row if there is insufficient space. All objects will be set to the same size, which is the size passed to the layout. This layout may not respect item MinSize to manage this uniform layout. Often used in file managers or image thumbnail lists.
Border layout supports positioning of items at the outside of available space. The border is passed pointers to the objects for (top, left, bottom, right). All items in the container that are not positioned on a border will fill the remaining space.
Max layout positions all container elements to fill the available space. The objects will all be full-sized and drawn in the order they were added to the container (last-most is on top).