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

Owning fixed-row presentation settings; invalid heights are rejected at preparation. More...

#include <virtual_list.hpp>

Inheritance diagram for portals::VirtualListOptions:
portals::VirtualListOptionsportals::VirtualListOptions portals::VirtualTableOptions

Public Attributes

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 fixed-row presentation settings; invalid heights are rejected at preparation.


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