Skip to content

TabContainer AlignmentModeEnum

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

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

Field Value
Full name Electron2D.TabContainer.AlignmentModeEnum
Namespace Electron2D
Kind enum
Category UI and Text

Overview

Identifies how tabs are aligned inside the tab header.

Syntax

public enum Electron2D.TabContainer.AlignmentModeEnum : System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattable

Godot 4.7 C# profile compatibility

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

Left, center and right tab header alignment values.

Remarks

The preview stores this value and uses it when calculating tab header hit rectangles.

Thread Safety

This enum is immutable and is safe to use from any thread.

Since

This enum is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.TabContainer.TabAlignment

Members

Member Kind Summary
Center Enum value Centers tabs inside the header.
Left Enum value Places tabs at the beginning of the header.
Right Enum value Places tabs at the end of the header.

Member Details

Center

Kind: Enum value

public const Electron2D.TabContainer.AlignmentModeEnum Center

Summary

Centers tabs inside the header.

Remarks

Centering affects hit testing and drawing only when the header is wider than all visible tab buttons.

Since

This value is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.TabContainer.AlignmentModeEnum

Left

Kind: Enum value

public const Electron2D.TabContainer.AlignmentModeEnum Left

Summary

Places tabs at the beginning of the header.

Remarks

Use this value when the first tab should start at the left edge.

Since

This value is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.TabContainer.AlignmentModeEnum

Right

Kind: Enum value

public const Electron2D.TabContainer.AlignmentModeEnum Right

Summary

Places tabs at the end of the header.

Remarks

Use this value when tab buttons should be right-aligned.

Since

This value is available since Electron2D 0.1.0 Preview.

See Also

  • Electron2D.TabContainer.AlignmentModeEnum

Clone this wiki locally