Implement remaining layouting logic
This commit is contained in:
parent
3a814fb960
commit
7da5ba04a5
4 changed files with 141 additions and 89 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue