diff --git a/crates/ui-widgets/src/list/row.rs b/crates/ui-widgets/src/list/row.rs index 69287e658..92cff578d 100644 --- a/crates/ui-widgets/src/list/row.rs +++ b/crates/ui-widgets/src/list/row.rs @@ -464,7 +464,8 @@ impl<'a> ListRow<'a> { self } - /// A text at the trailing end that drops out when the label would get narrower than its least width with it. + /// A text at the trailing end that drops out when the label would get narrower than its least width with it. A row + /// sized to its content makes room for it. #[must_use] pub fn optional(mut self, text: impl Into