fix(field): FIELD text has no defined width, so it does not wrap

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-02 12:47:31 +03:00
1 parent a735b10b34
commit 0c81580862
1 file changed
+2
+2
View File
@@ -131,6 +131,8 @@ impl CadCommand for FieldPlaceCommand {
mtext.height = self.height;
mtext.style = self.style.clone();
mtext.attachment_point = self.attachment;
// No defined width: the field text never wraps.
mtext.rectangle_width = 0.0;
CmdResult::CommitAndExit(self.plane.place_entity(EntityType::MText(mtext)))
}