Merge branch 'gpui2' into zed2
This commit is contained in:
commit
bb35583998
19 changed files with 115 additions and 60 deletions
|
@ -511,9 +511,11 @@ impl<S: 'static + Send + Sync> ListDetailsEntry<S> {
|
|||
.w_full()
|
||||
.line_height(relative(1.2))
|
||||
.child(Label::new(self.label.clone()).color(label_color))
|
||||
.when(self.meta.is_some(), |this| {
|
||||
this.child(Label::new(self.meta.clone().unwrap()).color(LabelColor::Muted))
|
||||
})
|
||||
.children(
|
||||
self.meta
|
||||
.take()
|
||||
.map(|meta| Label::new(meta).color(LabelColor::Muted)),
|
||||
)
|
||||
.child(
|
||||
h_stack()
|
||||
.gap_1()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue