composed the view better to use same data for preview and present
This commit is contained in:
parent
0607ccb78d
commit
e1a397c192
2 changed files with 12 additions and 10 deletions
|
@ -130,10 +130,10 @@ impl Presenter {
|
|||
}
|
||||
}
|
||||
};
|
||||
let stack = stack!(container, text)
|
||||
stack!(container, text)
|
||||
.width(Length::Fill)
|
||||
.height(Length::Fill);
|
||||
stack.into()
|
||||
.height(Length::Fill)
|
||||
.into()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue