namespace Terminal.Gui; /// /// Determines the position of items when arranged in a container. /// public enum Alignment { /// /// The items will be aligned to the start (left or top) of the container. /// /// /// /// If the container is smaller than the total size of the items, the end items will be clipped (their locations /// will be greater than the container size). /// /// /// The enumeration provides additional options for aligning items in a container. /// /// /// /// /// |111 2222 33333 | /// /// Start = 0, /// /// The items will be aligned to the end (right or bottom) of the container. /// /// /// /// If the container is smaller than the total size of the items, the start items will be clipped (their locations /// will be negative). /// /// /// The enumeration provides additional options for aligning items in a container. /// /// /// /// /// | 111 2222 33333| /// /// End, /// /// Center in the available space. /// /// /// /// If centering is not possible, the group will be left-aligned. /// /// /// Extra space will be distributed between the items, biased towards the left. /// /// /// /// /// | 111 2222 33333 | /// /// Center, /// /// The items will fill the available space. /// /// /// /// Extra space will be distributed between the items, biased towards the end. /// /// /// /// /// |111 2222 33333| /// /// Fill, }