Skip to content

InfoBarSpacerWidget

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

A flexible spacer that expands to fill available horizontal space. Use spacers to push sections apart within an info bar.

csharp
public sealed record InfoBarSpacerWidget : IInfoBarChild, IEquatable<InfoBarSpacerWidget>

Inheritance

ObjectInfoBarSpacerWidget

Implements

Constructors

InfoBarSpacerWidget()

A flexible spacer that expands to fill available horizontal space. Use spacers to push sections apart within an info bar.

csharp
public InfoBarSpacerWidget()

Examples

csharp
// Push "Ln 42" to the right edge
ctx.InfoBar(s => [
    s.Section("NORMAL"),
    s.Section("file.cs"),
    s.Spacer(),  // Expands to fill space
    s.Section("Ln 42")
])

Released under the MIT License.