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.
Checking the stable version of the documentation...
CenterContainer¶
继承: Container < Control < CanvasItem < Node < Object
将子控件保持在其中心的容器。
描述¶
CenterContainer 是一种容器,它将其所有子控件以最小尺寸保持在其中心。
教程¶
属性¶
|
属性说明¶
如果为 true
,会将子节点相对于 CenterContainer 的左上角居中。