mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-22 12:43:16 +00:00
f63ac72305
* feat(table): add option to configure selection layout changes Before this option was available, selecting a row in the table when no row was selected previously made the tables layout change (the same applies to unselecting) by adding the width of the "highlight symbol" in the front of the first column, this option allows to configure this behavior. * refactor(table): refactor "get_columns_widths" to return (x, width) and "render" to make use of that * refactor(table): refactor "get_columns_widths" to take in a selection_width instead of a boolean also refactor "render" to make use of this change * fix(table): rename "highlight_set_selection_space" to "highlight_spacing" * style(table): apply doc-comment suggestions from code review Co-authored-by: Dheepak Krishnamurthy <me@kdheepak.com> --------- Co-authored-by: Dheepak Krishnamurthy <me@kdheepak.com> |
||
---|---|---|
.. | ||
backend | ||
style | ||
text | ||
widgets | ||
buffer.rs | ||
layout.rs | ||
lib.rs | ||
prelude.rs | ||
style.rs | ||
symbols.rs | ||
terminal.rs | ||
title.rs |