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 stretchMode.
The stretch mode used to align child controls.
Construct a new instance of AspectRatioContainer. Note: use memnew!AspectRatioContainer instead.
Container that preserves its child controls' aspect ratio.
Arranges child controls in a way to preserve their aspect ratio automatically whenever the container is resized. Solves the problem where the container size is dynamic and the contents' size needs to adjust accordingly without losing proportions.