W3cubDocs

/Godot 3.1

CenterContainer

Inherits: Container < Control < CanvasItem < Node < Object

Category: Core

Brief Description

Keeps children controls centered.

Properties

bool use_top_left

Description

CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center.

Property Descriptions

bool use_top_left

Setter set_use_top_left(value)
Getter is_using_top_left()

If true, centers children relative to the CenterContainer’s top left corner. Default value: false.

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_centercontainer.html