diff --git a/crates/ui-egui/src/panels/properties.rs b/crates/ui-egui/src/panels/properties.rs index aaecadb2..5dedeb7a 100644 --- a/crates/ui-egui/src/panels/properties.rs +++ b/crates/ui-egui/src/panels/properties.rs @@ -305,8 +305,9 @@ fn transform_row( actions.push(("prop.toggleAnimation".into(), json!({"layer": lid, "prop": uid, "selected": true}))); } } - p.text(pos2(r.min.x + 42.0, cy), Align2::LEFT_CENTER, &row.label, Tokens::ui(12.0), t.text); - let vx = r.min.x + (r.width() * 0.5).max(130.0); + let lr = p.text(pos2(r.min.x + 42.0, cy), Align2::LEFT_CENTER, &row.label, Tokens::ui(12.0), t.text); + // Long labels ("Outer Roundness") push their values right rather than under them. + let vx = (r.min.x + (r.width() * 0.5).max(130.0)).max(lr.max.x + 10.0); let merge = row.merge.as_str(); // With several layers selected the edit applies to all: a scrub by the same change, a typed // value as it is.