BrushSettingsPanel: the bottom row spans the panel, so the stroke strip takes the room beside the buttons

This commit is contained in:
aiongg
2026-11-12 14:32:47 +00:00
parent 6381555400
commit 89b582dc46
+1 -1
View File
@@ -103,7 +103,7 @@ impl<'a, K: Value + Eq + Hash + std::fmt::Debug> BrushSettingsPanel<'a, K> {
let mut result = None;
let bottom = |ui: &mut Ui, _: &mut BodyCx<'_>| {
Divider::horizontal().show(ui);
Grid::new(BOTTOM).show(ui, |ui, _| {
Grid::new(BOTTOM).fill_width().show(ui, |ui, _| {
if let Some(strip) = strip.clone() {
strip.show(ui);
}