Skip to content

@jsvision/ui / TitleLayout

Interface: TitleLayout

Defined in: ui/src/menu/builders.ts:59

A top-level title's placement on the menu bar.

Properties

index

index: number

Defined in: ui/src/menu/builders.ts:60


label

label: ParsedLabel

Defined in: ui/src/menu/builders.ts:65


width

width: number

Defined in: ui/src/menu/builders.ts:64

The full text button width — display text + one pad column on each side.


x

x: number

Defined in: ui/src/menu/builders.ts:62

The button's left column (the leading pad space).