ratatui/tests
Kemyt 98fb5e4bbd
fix(widgets/table): take borders into account when percentage and ration constraints are used (#385)
* Fix percentage and ratio constraints for table to take borders into account

Percentage and ratio constraints don't take borders into account, which causes
the table to not be correctly aligned. This is easily seen when using 50/50
percentage split with bordered table. However fixing this causes the last column
of table to not get printed, so there is probably another problem with columns
width determination.

* Fix rounding of cassowary solved widths to eliminate imprecisions

* Fix formatting to fit convention

Co-authored-by: Kemyt <kemyt4@gmail.com>
2020-11-14 16:45:36 +01:00
..
backend_termion.rs fix(backend): move the cursor when first diff is on second cell 2020-08-02 21:10:44 +02:00
terminal.rs refactor(tests): rename integration tests to be able to call group of tests 2020-05-21 21:59:39 +02:00
widgets_barchart.rs fix(widgets/barchart): fix chart filled more than actual (#383) 2020-09-27 17:15:44 +02:00
widgets_block.rs refactor: implement cascading styles 2020-07-17 20:58:20 +02:00
widgets_chart.rs fix(widgets/chart): use the correct style to draw legend and axis titles 2020-09-27 19:12:35 +02:00
widgets_gauge.rs feat(widgets/gauge): add LineGauge variant of Gauge 2020-09-28 00:40:19 +02:00
widgets_list.rs refactor: implement cascading styles 2020-07-17 20:58:20 +02:00
widgets_paragraph.rs feat(text): add new text primitives 2020-07-10 22:59:24 +02:00
widgets_table.rs fix(widgets/table): take borders into account when percentage and ration constraints are used (#385) 2020-11-14 16:45:36 +01:00
widgets_tabs.rs feat(text): add new text primitives 2020-07-10 22:59:24 +02:00