forked from 1b-agent/opencadstudio-upstream
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:
1 parent
a735b10b34
commit
0c81580862
1 file changed
+2
@@ -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)))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user