Skip to content

LabelWidthScope

Namespace: SideXP.Core.EditorOnly | Inherits from: GUI.Scope

public class LabelWidthScope : GUI.Scope

Custom GUI scope for customizing the default label width in a block.

Constructors

LabelWidthScope(float)

public LabelWidthScope(float labelWidth)

Defines the editor label width inside this block.

Parameters

  • labelWidth: The expected label width.

Methods

CloseScope()

protected override void CloseScope()

Reset the original editor label width.