rename Split to Stack

This commit is contained in:
🪞👃🪞 2024-09-28 02:56:32 +03:00
parent 2adf0028c3
commit e555074bdf
8 changed files with 42 additions and 42 deletions

View file

@ -41,7 +41,7 @@ impl Content for Demo<Tui> {
add(&Background(Color::Rgb(0,128,128)))?;
add(&Outset::XY(1, 1, Split::down(|add|{
add(&Outset::XY(1, 1, Stack::down(|add|{
add(&Layers::new(|add|{
add(&Background(Color::Rgb(128,96,0)))?;
@ -72,7 +72,7 @@ impl Content for Demo<Tui> {
}))
//Align::Center(Outset::X(1, Layers::new(|add|{
//add(&Background(Color::Rgb(128,0,0)))?;
//add(&Split::down(|add|{
//add(&Stack::down(|add|{
//add(&Outset::Y(1, Layers::new(|add|{
//add(&Background(Color::Rgb(0,128,0)))?;
//add(&Align::Center("12345"))?;
@ -88,7 +88,7 @@ impl Content for Demo<Tui> {
//Align::Y(Layers::new(|add|{
//add(&Background(Color::Rgb(128,0,0)))?;
//add(&Outset::X(1, Align::Center(Split::down(|add|{
//add(&Outset::X(1, Align::Center(Stack::down(|add|{
//add(&Align::X(Outset::Y(1, Layers::new(|add|{
//add(&Background(Color::Rgb(0,128,0)))?;
//add(&Align::Center("12345"))?;