wip(108e): layout refactor

This commit is contained in:
🪞👃🪞 2024-12-09 11:00:48 +01:00
parent 265d4a3953
commit ddb3c28c01
21 changed files with 1141 additions and 825 deletions

View file

@ -35,7 +35,7 @@ impl Demo<Tui> {
impl Content for Demo<Tui> {
type Engine = Tui;
fn content (&self) -> impl Render<Engine = Tui> {
fn content (&self) -> dyn Render<Engine = Tui> {
let border_style = Style::default().fg(Color::Rgb(0,0,0));
Align::Center(Layers::new(move|add|{