Layout class that allows controls to be positioned and sized automatically in a horizontal or vertical row.
Adds a form component item or another layout item to the layout object for it to position and size automatically, based on the rules specified by proportion, layout_flags, and border_size. Proportion determines the size of this item relative to the total proportions of the items. So, if this item has proportion of 1 and there is another item with a proportion of 2, this item will occupy 1/3 of the overall space of the layout object (1 / 1 + 2), subject to the layout behavior specified in layout_flags. Layout_flags is a combination of Layout.Top, Layout.Bottom, Layout.Left, Layout.Right, Layout.All, Layout.Expand, and Layout.Center, and Layout.Shaped. Border_size determines the space around the contained elements, subject to the layout_flags.
Adds a spacer with the specified pixel size to the layout object. If the layout object has a horizontal layout, then size is the width of the spacer. If the layout object has a vertical layout, then size is the height of the spacer.
Adds a spacer with the specified proportional size to the layout object.
Removes all items from the Layout object.
Inserts a form component item or another layout item into the layout object for it to position and size automatically, based on the rules specified by proportion, layout_flags, and border_size. The item is inserted at the specified index or else before the index of the specified FormComponent or Layout item. Proportion determines the size of this item relative to the total proportions of the items. So, if this item has proportion of 1 and there is another item with a proportion of 2, this item will occupy 1/3 of the overall space of the layout object (1 / 1 + 2), subject to the layout behavior specified in layout_flags. Layout_flags is a combination of Layout.Top, Layout.Bottom, Layout.Left, Layout.Right, Layout.All, Layout.Expand, and Layout.Center, and Layout.Shaped. Border_size determines the space around the contained elements, subject to the layout_flags.
Inserts a spacer with the specified pixel size to the layout object at the specified index, where the index is the zero-based index if it is an integer, or else the zero-based index of the specified FormComponent or Layout object before which the spacer will be inserted. If the layout object has a horizontal layout, then size is the width of the spacer. If the layout object has a vertical layout, then size is the height of the spacer.
Inserts a stretch spacer with the specified proportional size into the layout object at the given index if index is an Integer or before the index of the given FormComponent or LayoutComponent