RowOpts

A value shape that methods take or return.

Methods
None
Fields
11

Fields

FieldTypeDescription
widthnumber?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…
indentnumber?Left inset in points, for nesting a tree row.
twistRowTwist?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…
twistColorColor?Marker colour.
badge{ text: string, color: Color, border: Color? }?A small label before the text: { text, color, border? }.
trailingRowSpan?A run pinned to the right edge. Laid out first, so it decides how much width the runs before it may claim.
bgColor?Row background, drawn whatever the row's state.
fillColor?Background when the row is selected.
hoverColor?Background when the pointer is over the row.
barColor?A 2px accent down the row's left edge when selected.
alphanumber?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.

Field details

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.

twist

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 string raises.