607c11fea4
Use new with_* naming scheme
...
All builder-like functions are now named with_*. There is also now a way
to set each property imperatively with only a mutable reference.
The only widgets I haven't yet converted to this style are the Join*
widgets; they're a bit harder to figure out an appropriate API for.
2023-02-20 15:53:49 +01:00
ba716dd089
Fix examples not measuring widths immediately
2023-02-18 20:13:47 +01:00
ba6ee45110
Don't measure widths while presenting
2023-02-17 18:59:32 +01:00
ac2546ba97
Add Terminal::{present_widget, present_async_widget}
2023-02-17 14:00:46 +01:00
ed14ea9023
Measure automatically in Terminal::present
2023-02-17 13:59:16 +01:00
845d88c93f
Make widget example look slightly less horrible
2023-02-16 23:37:16 +01:00
9ff8007cae
Switch usages of ContentStyle to Style
2023-02-16 21:24:52 +01:00
3f7e985b3f
Add Background widget
2023-02-16 16:26:47 +01:00
575faf9bbf
Add Float widget
2023-02-16 15:13:23 +01:00
bcc07dc9ba
Add WidgetExt and AsyncWidgetExt traits
2023-02-16 15:12:33 +01:00
964f3bf011
Add Border widget
2023-02-16 14:30:06 +01:00
6a0c0474ec
Add widget hello world example
2023-02-16 10:08:45 +01:00