Implement remaining layouting logic

This commit is contained in:
Joscha 2022-07-19 21:16:39 +02:00
parent 3a814fb960
commit 7da5ba04a5
4 changed files with 141 additions and 89 deletions

View file

@ -126,7 +126,7 @@ pub enum Chat<M: Msg, S: MsgStore<M>> {
impl<M, S> Widget for Chat<M, S>
where
M: Msg,
M::Id: Send,
M::Id: Send + Sync,
S: MsgStore<M> + Send + Sync,
{
fn size(&self, frame: &mut Frame, max_width: Option<u16>, max_height: Option<u16>) -> Size {