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/src
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
3 years ago
..
backend chore: fix clippy warnings 3 years ago
widgets feat(block): add option to center and right align the title (#462) 3 years ago
buffer.rs feat(buffer): add a method to build a `Style` out of an existing `Cell` 4 years ago
layout.rs fix(widgets/block): make Block::inner return more accurate results on small areas 4 years ago
lib.rs Release v0.15.0 3 years ago
style.rs doc(style): improve documentation of Style 4 years ago
symbols.rs feat(widgets/canvas): added type Block in canvas markers (#350) 4 years ago
terminal.rs feat(terminal): add a read-only view of the terminal state after the draw call 3 years ago
text.rs feat(Text): Add a From<Cow<str>> impl for Text 3 years ago