Skip to content

Commit 47f967d

Browse files
OneSlipsclaude
andcommitted
LR-UI-DENSE-ROWS: the German header wrap check moved to the narrowest panel (the dense buttons fit at 222 pt)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 0330c68 commit 47f967d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎crates/ui-egui/src/panels/edit/sliders.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,8 @@ mod tests {
478478
}
479479
}
480480
crate::i18n::set_language(Locale::En);
481-
assert!(wrapped.contains(&(Locale::De, 222.0)), "German wraps in the default panel: {wrapped:?}");
481+
// (the dense buttons fit German's Zurücksetzen in one row at 222 pt; at the narrowest panel it wraps)
482+
assert!(wrapped.contains(&(Locale::De, 200.0)), "German wraps in the narrowest panel: {wrapped:?}");
482483
// English keeps its single row from the default width up
483484
assert!(!wrapped.iter().any(|&(l, w)| l == Locale::En && w >= 222.0), "{wrapped:?}");
484485
}

0 commit comments

Comments
 (0)