Struct tui_realm_stdlib::TablePropsBuilder [−][src]
pub struct TablePropsBuilder { /* fields omitted */ }Implementations
with_foreground
Set foreground color for area
with_background
Set background color for area
with_highlighted_color
Set color for highlighted entry
pub fn with_borders(
&mut self,
borders: Borders,
variant: BorderType,
color: Color
) -> &mut Self
pub fn with_borders(
&mut self,
borders: Borders,
variant: BorderType,
color: Color
) -> &mut Self
with_borders
Set component borders style
underlined
Set underlined property for component
slow_blink
Set slow_blink property for component
rapid_blink
Set rapid_blink property for component
strikethrough
Set strikethrough property for component
with_table
Set table content You can define a title if you want. The title will be displayed on the upper border of the box
with_title
Set title
with_header
Set header for table
with_widths
Set widths in percentage for table columns. Panics if amount of columns doesn’t match the amount of columns in table
with_row_height
Set row height
with_col_spacing
Set column spacing
with_highlighted_str
Display a symbol to highlighted line in scroll table
with_max_scroll_step
Defines the max step for PAGEUP/PAGEDOWN keys
scrollable
Sets whether the list is scrollable