Skip to content

CenterContainer

Inherits: Container < Control < CanvasItem < Entity < Object

A container that keeps child controls in its center.

CenterContainer is a container that keeps all of its child controls in its center at their minimum size.

Type Name Default
bool use_top_left false

use_top_left

bool use_top_left = false

If true, centers children relative to the CenterContainer’s top left corner.