A container that preserves the proportions of its child controls.
A container type that arranges its child controls in a way that preserves their proportions automatically when the container is resized. Useful when a container has a dynamic size and the child nodes must adjust their sizes accordingly without losing their aspect ratios.
$DOCS_URL/tutorials/ui/gui_containers.html
Specifies the horizontal relative position of child controls.
Specifies the vertical relative position of child controls.
The aspect ratio to enforce on child controls. This is the width divided by the height. The ratio depends on the [member stretch_mode].
The stretch mode used to align child controls.
The height of child controls is automatically adjusted based on the width of the container.
The width of child controls is automatically adjusted based on the height of the container.
The bounding rectangle of child controls is automatically adjusted to fit inside the container while keeping the aspect ratio.
The width and height of child controls is automatically adjusted to make their bounding rectangle cover the entire area of the container while keeping the aspect ratio.
When the bounding rectangle of child controls exceed the container's size and [member Control.clip_contents] is enabled, this allows to show only the container's area restricted by its own bounding rectangle.
Aligns child controls with the beginning (left or top) of the container.
Aligns child controls with the center of the container.
Aligns child controls with the end (right or bottom) of the container.