CenterContainer
Inherits: Container < Control < CanvasItem < Node < Object
Category: Core
Brief Description
Keeps children controls centered.
Member Functions
bool | is_using_top_left ( ) const |
void | set_use_top_left ( bool enable ) |
Description
CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center.
Member Function Description
bool is_using_top_left ( ) const
Should put children to the top left corner instead of center of the container.
void set_use_top_left ( bool enable )
This function will anchor the container children to the top left corner of the the container boundaries, moving all its children to that position, (the children new center will be the top left corner of the container).
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_centercontainer.html