# Packages
Package grid helps to build grid layouts.
# Functions
AlignHorizontal sets the horizontal alignment for the widget placed in the container.
AlignVertical sets the vertical alignment for the widget placed in the container.
Border configures the container to have a border of the specified style.
BorderColor sets the color of the border around the container.
BorderTitle sets a text title within the border.
BorderTitleAlignCenter aligns the border title in the center.
BorderTitleAlignLeft aligns the border title on the left.
BorderTitleAlignRight aligns the border title on the right.
Bottom applies options to the bottom sub container after a horizontal split of the parent.
Clear clears this container.
FocusedColor sets the color of the border around the container when it has keyboard focus.
ID sets an identifier for this container.
Left applies options to the left sub container after a vertical split of the parent.
MarginBottom sets reserved space outside of the container at its bottom.
MarginBottomPercent sets reserved space outside of the container at its bottom.
MarginLeft sets reserved space outside of the container at its left.
MarginLeftPercent sets reserved space outside of the container at its left.
MarginRight sets reserved space outside of the container at its right.
MarginRightPercent sets reserved space outside of the container at its right.
MarginTop sets reserved space outside of the container at its top.
MarginTopPercent sets reserved space outside of the container at its top.
New returns a new root container that will use the provided terminal and applies the provided options.
PaddingBottom sets reserved space between container and the bottom side of its widget.
PaddingBottomPercent sets reserved space between container and the bottom side of its widget.
PaddingLeft sets reserved space between container and the left side of its widget.
PaddingLeftPercent sets reserved space between container and the left side of its widget.
PaddingRight sets reserved space between container and the right side of its widget.
PaddingRightPercent sets reserved space between container and the right side of its widget.
PaddingTop sets reserved space between container and the top side of its widget.
PaddingTopPercent sets reserved space between container and the top side of its widget.
PlaceWidget places the provided widget into the container.
Right applies options to the right sub container after a vertical split of the parent.
SplitFixed sets the size of the first container to be a fixed value and makes the second container take up the remaining space.
SplitHorizontal splits the container along the horizontal axis into two sub containers.
SplitPercent sets the relative size of the split as percentage of the available space.
SplitVertical splits the container along the vertical axis into two sub containers.
Top applies options to the top sub container after a horizontal split of the parent.
# Constants
DefaultSplitFixed is the default value for the SplitFixed option.
DefaultSplitPercent is the default value for the SplitPercent option.
# Structs
Container wraps either sub containers or widgets and positions them on the terminal.
# Interfaces
BottomOption is used to provide options to the bottom sub container after a horizontal split of the parent.
LeftOption is used to provide options to the left sub container after a vertical split of the parent.
Option is used to provide options to a container.
RightOption is used to provide options to the right sub container after a vertical split of the parent.
SplitOption is used when splitting containers.
TopOption is used to provide options to the top sub container after a horizontal split of the parent.