diff --git a/crates/ui-widgets/src/list/row.rs b/crates/ui-widgets/src/list/row.rs index 1e2bd3f2e..d256e04c0 100644 --- a/crates/ui-widgets/src/list/row.rs +++ b/crates/ui-widgets/src/list/row.rs @@ -178,7 +178,6 @@ pub struct ListRow<'a> { #[prop(into)] pub(super) accessible_name: Option, pub(super) spacer: bool, - pub(super) caption: bool, pub(super) cells: Vec<(ColumnKey, Rect)>, /// Each column's alignment and whether its figures are tabular, from `columns(..)`. pub(super) aligns: Vec<(ColumnKey, HAlign, bool)>, @@ -271,7 +270,6 @@ impl<'a> ListRow<'a> { progress: None, accessible_name: None, spacer: false, - caption: false, cells: Vec::new(), aligns: Vec::new(), muted: Vec::new(), @@ -312,15 +310,6 @@ impl<'a> ListRow<'a> { row } - /// A caption over the rows after it (a group's name in a picker's list): `label` in the caption role and - /// `text.muted` at the row's start, a row high. Like a spacer it senses nothing and takes no lead; its AccessKit - /// node is a heading. Mark its position `ItemSource::is_section` so keys and clicks skip it. - pub fn caption(label: impl Into