width
width: number?The row's width. Defaults to everything available; set it to leave room for something else on the same line, such as a log row's action buttons.
A value shape that methods take or return.
| Field | Type | Description |
|---|---|---|
width | number? | The row's width. Defaults to everything available; set it to leave room for something else on the same line, such as a log row's action but… |
indent | number? | Left inset in points, for nesting a tree row. |
twist | RowTwist? | The disclosure marker: a fold state, or "leaf" for a row that cannot open. Its own hit region, so folding does not also select. Another s… |
twistColor | Color? | Marker colour. |
badge | { text: string, color: Color, border: Color? }? | A small label before the text: { text, color, border? }. |
trailing | RowSpan? | A run pinned to the right edge. Laid out first, so it decides how much width the runs before it may claim. |
bg | Color? | Row background, drawn whatever the row's state. |
fill | Color? | Background when the row is selected. |
hover | Color? | Background when the pointer is over the row. |
bar | Color? | A 2px accent down the row's left edge when selected. |
alpha | number? | Multiplies the row's text, badge, twist and bg, 0 to 1, for a row a filter kept only as context. fill, hover and bar are not faded. |
widthwidth: number?The row's width. Defaults to everything available; set it to leave room for something else on the same line, such as a log row's action buttons.
twisttwist: RowTwist?The disclosure marker: a fold state, or "leaf" for a row that cannot open. Its own hit region, so folding does not also select. Another string raises.