mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 00:57:26 +00:00
Remove stale layout design-lint exceptions
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user