You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tui-rs/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>
4 years ago
..
backend_termion.rs fix(backend): move the cursor when first diff is on second cell 4 years ago
terminal.rs refactor(tests): rename integration tests to be able to call group of tests 4 years ago
widgets_barchart.rs fix(widgets/barchart): fix chart filled more than actual (#383) 4 years ago
widgets_block.rs refactor: implement cascading styles 4 years ago
widgets_chart.rs fix(widgets/chart): use the correct style to draw legend and axis titles 4 years ago
widgets_gauge.rs feat(widgets/gauge): add `LineGauge` variant of `Gauge` 4 years ago
widgets_list.rs refactor: implement cascading styles 4 years ago
widgets_paragraph.rs feat(text): add new text primitives 4 years ago
widgets_table.rs fix(widgets/table): take borders into account when percentage and ration constraints are used (#385) 4 years ago
widgets_tabs.rs feat(text): add new text primitives 4 years ago