Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::VirtualTableOptions Struct Reference

Owning table settings; preparation rejects invalid dimensions and exceeded budgets. Inherited VirtualListOptions define fixed body-row height, overscan, width policy and row styles. More...

#include <virtual_table.hpp>

Inheritance diagram for portals::VirtualTableOptions:
portals::VirtualTableOptionsportals::VirtualTableOptions portals::VirtualListOptions

Public Attributes

CellStyle header
 One fixed cell row of column headings, unaffected by selection.
std::size_t max_columns {64}
 Positive bound on configured columns, including offscreen columns.
std::size_t max_prepared_cells {16384}
 Positive bound on visible body cells; no silent truncation.
std::size_t max_prepared_text_bytes {1024 * 1024}
 Positive total UTF-8 byte budget for headers and visible cells.
Public Attributes inherited from portals::VirtualListOptions
std::int32_t row_height {1}
 Positive cell rows per logical row.
std::size_t overscan_rows {2}
 Extra requested rows on each side, never formatted while invisible.
WidthPolicy width_policy
 Required policy for delegate and placeholder text.
CellStyle normal
 Unselected row fill and text.
CellStyle selected {{}, {}, true, true}
 Selected row fill and text.
CellStyle highlight {.bold = true, .underline = true}
 Prepared match emphasis over normal/selected appearance.

Detailed Description

Owning table settings; preparation rejects invalid dimensions and exceeded budgets. Inherited VirtualListOptions define fixed body-row height, overscan, width policy and row styles.


The documentation for this struct was generated from the following file: