CenterContainer

Inherits: Container < Control < CanvasItem < Node < Object

Keeps children controls centered.

Description

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

Properties

bool use_top_left false

Property Descriptions

bool use_top_left

Default false
Setter set_use_top_left(value)
Getter is_using_top_left()

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

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