From 0f096d6d69f113045ec06e451a30f3efd2e1aa01 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 21 Nov 2026 16:37:10 -0500 Subject: [PATCH] Remove stale layout design-lint exceptions --- crates/ui-widgets/src/layout_components/mod.rs | 1 - design/exceptions/craft-ui-widgets/display.toml | 8 -------- 2 files changed, 9 deletions(-) diff --git a/crates/ui-widgets/src/layout_components/mod.rs b/crates/ui-widgets/src/layout_components/mod.rs index a869191b7..a658ea805 100644 --- a/crates/ui-widgets/src/layout_components/mod.rs +++ b/crates/ui-widgets/src/layout_components/mod.rs @@ -329,7 +329,6 @@ impl Row { /// The row's line is at least `points` high, as a child of more than one line that high would make it: the /// children that fill the line's height take at least it. A row of command groups keeps the height of its /// rows of controls while its groups are shorter. Ignored by a row that wraps. - // design: allow[props/point-size](the least line of a row is the caller's measured extent (three control rows of a look and a title line), not a chosen size) pub fn least_height(mut self, points: f32) -> Self { self.props = self.props.least_height(points); self diff --git a/design/exceptions/craft-ui-widgets/display.toml b/design/exceptions/craft-ui-widgets/display.toml index 3669a55bf..88f56e78b 100644 --- a/design/exceptions/craft-ui-widgets/display.toml +++ b/design/exceptions/craft-ui-widgets/display.toml @@ -1,9 +1 @@ config_version = 1 - -[[exception]] -name = "divider-length-content-extent" -kind = "marker" -rule = "props/point-size" -path = "crates/ui-widgets/src/display/divider.rs" -reason = "The length is the measured extent of the owner's content (a group as tall as its content and title), not a chosen size." -count = 1