Table of Contents
Specific common preset setups of Info structs
public enum InfoPreset
FillParent
0
Will fill its parent component by matching its top left and bottom right with the parent's
Equivalent to
{
AnchorMin = new Vector2(0, 0),
AnchorMax = new Vector2(1, 1)
}
Set alongside negative width/height to add padding around the edges, or positive to expand beyond
Flex
1
Will fully flex horizontally and vertically,
Equivalent to
{
FlexWidth = 1,
FlexHeight = 1
}