feat(shape-library): give the preview's part and dimensions more room

The fitted drawing and its dimensions now keep 30 px from the preview's
border instead of 10, and at least 20 px from the info lines and note
chips. Linear dimensions sit 50 px off the part by default instead of 18,
and leader labels 30 px instead of 20.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
ajandClaude Fable 5.2 committed 2026-11-15 10:53:25 -05:00
1 parent 99e8dc3d0e
commit 17c496795e
2 files changed
+13 -6

No files matched your search

@@ -221,7 +221,7 @@ public class ShapeLibraryFormTests
// The length sits below the drawing: it may come closer, never above its bottom edge.
var after = preview.LabelBounds("Length")!.Value;
Assert.True(after.Y < before.Y);
Assert.True(after.Y > before.Y - 20);
Assert.True(after.Y > before.Y - 50);
});
[Fact]