Skip to content

HBoxContainer

Eduard Gushchin edited this page Jul 1, 2026 · 3 revisions

Home | API by Category | Complete API Index | API Compatibility

Field Value
Full name Electron2D.HBoxContainer
Namespace Electron2D
Kind class
Category UI and Text

Overview

Arranges direct child controls horizontally.

Syntax

public class Electron2D.HBoxContainer : Electron2D.BoxContainer

Godot 4.7 C# profile compatibility

Profile: Electron2D 0.1.0 2D
Status: Supported / Parity verified
Out of profile: no
Godot reference: HBoxContainer

Horizontal specialization of BoxContainer.

Remarks

HBoxContainer is a Electron2D.BoxContainer with Electron2D.BoxContainer.Vertical set to false.

Thread Safety

This type is not synchronized. Create and mutate it on the main scene thread.

Since

This type is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.BoxContainer
  • Electron2D.VBoxContainer

Members

Member Kind Summary
Electron2D.HBoxContainer() Constructor Initializes a new instance of the Electron2D.HBoxContainer type.

Member Details

Electron2D.HBoxContainer()

Kind: Constructor

public Electron2D.HBoxContainer()

Summary

Initializes a new instance of the Electron2D.HBoxContainer type.

Remarks

The instance uses horizontal layout immediately after construction.

Thread Safety

This constructor is not synchronized. Call it on the main scene thread.

Since

This constructor is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.BoxContainer.Vertical

Clone this wiki locally