Add priorities to VJoin/HJoin Segments
This commit is contained in:
parent
f3b804347d
commit
a50f81f9b3
2 changed files with 151 additions and 55 deletions
|
|
@ -30,7 +30,7 @@ pub fn msg<M: Msg>(highlighted: bool, indent: usize, msg: &M) -> BoxedWidget {
|
|||
Segment::new(Padding::new(Text::new(msg.nick())).right(1)),
|
||||
// TODO Minimum content width
|
||||
// TODO Minimizing and maximizing messages
|
||||
Segment::new(Text::new(msg.content()).wrap(true)),
|
||||
Segment::new(Text::new(msg.content()).wrap(true)).priority(1),
|
||||
])
|
||||
.into()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue