tui-rs/tests
Oleks (オレクス) a346704cdc
feat(block): add option to center and right align the title (#462)
* Added ability to set title alignment, added tests, modified blocks example to show the feature

* Added test for inner with title in block

* Updated block example to show center alignment

* Formatting fixed

* Updated tests to use lamdas and be more concise. Updated title alignmnet code to be more straightforward and have correct behavior when placing title in the center without left border
2021-05-22 16:55:24 +02:00
..
backend_termion.rs fix(tests): remove clippy warnings about single char push (#424) 2020-11-29 18:35:52 +01:00
terminal.rs feat(terminal): add a read-only view of the terminal state after the draw call 2021-01-04 22:18:28 +01: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 feat(block): add option to center and right align the title (#462) 2021-05-22 16:55:24 +02:00
widgets_chart.rs fix(widgets/block): make Block::inner return more accurate results on small areas 2020-12-13 17:21:10 +01:00
widgets_gauge.rs refactor(widgets/gauge): stop using unicode blocks by default 2020-11-29 19:27:34 +01:00
widgets_list.rs refactor: implement cascading styles 2020-07-17 20:58:20 +02:00
widgets_paragraph.rs fix(widgets/paragraph): handle trailing nbsp in wrapped text (#405) 2020-11-15 20:03:33 +01:00
widgets_table.rs fix(widgets/table): draw table header and border even if rows are empty (#426) 2020-12-08 21:49:16 +01:00
widgets_tabs.rs feat(text): add new text primitives 2020-07-10 22:59:24 +02:00