Outdated documentation
This documentation page refers to Godot
4.3,
and may be outdated or incorrect.
Additionally, this engine version is
no longer supported.
Check this page in the stable branch for the latest additions and corrections.
CenterContainer
Inherits: Container < Control < CanvasItem < Node < Object
A container that keeps child controls in its center.
Description
CenterContainer is a container that keeps all of its child controls in its center at their minimum size.
Tutorials
Properties
|
Property Descriptions
If true, centers children relative to the CenterContainer's top left corner.