ratatui/tests
Dheepak Krishnamurthy 9df6cebb58
feat: Table column calculation uses layout spacing (#824)
This uses the new `spacing` feature of the `Layout` struct to allocate
columns spacing in the `Table` widget.
This changes the behavior of the table column layout in the following
ways:

1. Selection width is always allocated.
- if a user does not want a selection width ever they should use
`HighlightSpacing::Never`
2. Column spacing is prioritized over other constraints
- if a user does not want column spacing, they should use
`Table::new(...).column_spacing(0)`

---------

Co-authored-by: Josh McKinney <joshka@users.noreply.github.com>
2024-01-16 21:51:25 -05:00
..
backend_termion.rs feat(terminal)!: add inline viewport (#114) 2023-04-17 14:23:50 +02:00
border_macro.rs feat(border): add border! macro for easy bitflag manipulation (#11) 2023-05-21 15:26:39 -07:00
state_serde.rs feat: Table column calculation uses layout spacing (#824) 2024-01-16 21:51:25 -05:00
stylize.rs feat(stylize): allow all widgets to be styled (#289) 2023-07-14 08:37:30 +00:00
terminal.rs feat: Add frame count (#766) 2024-01-08 03:51:53 -05:00
widgets_barchart.rs feat(barchart): Add direction attribute. (horizontal bars support) (#325) 2023-08-24 22:26:15 +00:00
widgets_block.rs fix(title): remove default alignment and position (#323) 2023-07-17 10:27:58 +00:00
widgets_calendar.rs style: reformat imports (#219) 2023-06-12 05:07:15 +00:00
widgets_canvas.rs chore: Minor lints, making Clippy happier (#189) 2023-05-21 20:45:37 -07:00
widgets_chart.rs test(buffer): allow with_lines to accept Vec<Into<Line>> (#494) 2023-09-12 11:53:43 -07:00
widgets_gauge.rs fix(gauge): fix gauge widget colors (#572) 2023-10-19 04:29:53 -07:00
widgets_list.rs feat(List)!: List::new now accepts IntoIterator<Item = Into<ListItem>> (#672) 2023-12-08 14:20:49 -08:00
widgets_paragraph.rs chore(spans): remove deprecated Spans type (#426) 2023-09-19 02:58:52 -07:00
widgets_table.rs feat: Table column calculation uses layout spacing (#824) 2024-01-16 21:51:25 -05:00
widgets_tabs.rs feat(tabs): accept Iterators of Line in constructors (#776) 2024-01-10 17:16:44 -08:00