Documentation / @debuffjp/ui / MenuStyle
Interface: MenuStyle
Defined in: menu.ts:34
Extended by
Properties
align?
optionalalign?:"left"|"center"
Defined in: menu.ts:43
"left" lines labels up after the cursor; "center" centres each label. Default "left".
color?
optionalcolor?:string|number
Defined in: menu.ts:37
cursor?
optionalcursor?:string
Defined in: menu.ts:45
Drawn beside the focused label, in its own column so labels never shift. Default ">".
cursorGap?
optionalcursorGap?:number
Defined in: menu.ts:47
Pixels between the cursor and its label. Default 4.
disabledColor?
optionaldisabledColor?:string|number
Defined in: menu.ts:39
focusColor?
optionalfocusColor?:string|number
Defined in: menu.ts:38
font?
optionalfont?:FontLike
Defined in: menu.ts:36
CSS font or BitmapFont. Default: draw.text's, debuff sans.
gap?
optionalgap?:number
Defined in: menu.ts:41
Extra pixels between rows. Default 3.
highlight?
optionalhighlight?:string|number|false
Defined in: menu.ts:54
A soft pill behind the focused row that squashes and springs back when focus moves. Default on with debuff's look (a style that sets no color), off otherwise; false turns it off.
valueGap?
optionalvalueGap?:number
Defined in: menu.ts:49
Minimum pixels between the label column and the value column. Default 12.