@jsvision/ui / ButtonGroupMetrics
Interface: ButtonGroupMetrics
Defined in: ui/src/controls/button-group.ts:35
Intrinsic terminal-cell geometry for one logical Button group.
The metrics describe the smallest unclipped rectangle for the selected wrapping policy. A host may allocate more room, but should not allocate less unless it intentionally provides a hard clipping bound.
Properties
buttonWidth
readonlybuttonWidth:number
Defined in: ui/src/controls/button-group.ts:37
Equal width assigned to every Button face.
columnCount
readonlycolumnCount:number
Defined in: ui/src/controls/button-group.ts:39
Number of Button columns in the widest composed row.
height
readonlyheight:number
Defined in: ui/src/controls/button-group.ts:45
Minimum height of the complete group, including wrapped-row gaps.
rowCount
readonlyrowCount:number
Defined in: ui/src/controls/button-group.ts:41
Number of composed rows.
width
readonlywidth:number
Defined in: ui/src/controls/button-group.ts:43
Minimum width of the complete group, including horizontal gaps.