From a5b7e18cfde7609493deec0a80d935f965a62e6f Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 10 Oct 2026 23:04:20 +0000 Subject: [PATCH] Properties: long row labels push their values right instead of overlapping Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Rc1XNFw6vDovyoYpwHj9Py (cherry picked from commit 5e86b07f0eedc02e7d23b1aca7c811f678da9e8b) (cherry picked from commit e10c7e62a63a282e695d982d86e78554059fb1ff) (cherry picked from commit 99ae078e3ac666936f71208aaab7f3deb7ab1a75) --- crates/ui-egui/src/panels/properties.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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.