-
Notifications
You must be signed in to change notification settings - Fork 0
BoxContainerAlignmentMode
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.BoxContainerAlignmentMode |
| Namespace | Electron2D |
| Kind | enum |
| Category | UI and Text |
Describes how a Electron2D.BoxContainer positions children when free space remains.
public enum Electron2D.BoxContainerAlignmentMode : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattableProfile: Electron2D 0.1.0 2D
Status: Supported / Parity verified
Out of profile: no
Godot reference: BoxContainer.AlignmentMode
Begin, center and end alignment values for unexpanded space in a box container.
Alignment is applied only after non-expanded children, separation and expanded slots have been measured.
This enum is available since Electron2D 0.1.0 Preview.
Electron2D.BoxContainer.Alignment
| Member | Kind | Summary |
|---|---|---|
Begin |
Enum value | Places children at the beginning of the box axis. |
Center |
Enum value | Centers children along the box axis. |
End |
Enum value | Places children at the end of the box axis. |
Kind: Enum value
public const Electron2D.BoxContainerAlignmentMode BeginPlaces children at the beginning of the box axis.
This is the default alignment for a Electron2D.BoxContainer.
This enum value is available since Electron2D 0.1.0 Preview.
Kind: Enum value
public const Electron2D.BoxContainerAlignmentMode CenterCenters children along the box axis.
Free space is split before and after the children.
This enum value is available since Electron2D 0.1.0 Preview.
Kind: Enum value
public const Electron2D.BoxContainerAlignmentMode EndPlaces children at the end of the box axis.
Free space is placed before the first child.
This enum value is available since Electron2D 0.1.0 Preview.
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.