W3cubDocs

/Godot 3.0

CenterContainer

Inherits: Container < Control < CanvasItem < Node < Object

Category: Core

Brief Description

Keeps children controls centered.

Member Variables

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

Description

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

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