Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

CenterContainer

Inherits: Container < Control < CanvasItem < Node < 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.

教程

属性

bool

use_top_left

false


Property Descriptions

bool use_top_left = false

  • void set_use_top_left ( bool value )

  • bool is_using_top_left ( )

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