From 63921e3fd87fa09d1b1283bb1a0ab7ba5e22762b Mon Sep 17 00:00:00 2001 From: Gorgious Date: Sat, 22 Nov 2025 13:32:19 +0100 Subject: [PATCH] Improve formatting for imperial units for the elevation of spatial elements elevation in the spatial decomposition panel (Re #7373) --- src/bonsai/bonsai/tool/unit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/tool/unit.py b/src/bonsai/bonsai/tool/unit.py index e94f34996f..26387cfc33 100644 --- a/src/bonsai/bonsai/tool/unit.py +++ b/src/bonsai/bonsai/tool/unit.py @@ -292,7 +292,7 @@ class Unit(bonsai.core.tool.Unit): return f'{inches:.4g}"' # Show both feet and inches else: - return f"{feet}'{inches:.4g}\"" + return f"{feet}' - {inches:.4g}\"" else: # Use metric - choose appropriate unit if abs(meters) >= 1.0: