FS#2219Update simple_create.js addSimpleText()
- Type
- Task
- Status
- Closed
- Resolution
- Implemented
- Category
- ECMAScript
- Severity
- Very Low
- Priority
- Low
- Reported version
- 3.26.1
- Operating system
- All
- Reported
- 2021-03-23 by CVH
- Closed
- 2021-03-24 by andrew
- Votes
- 1
Andrew,
Reading:
https://www.qcad.org/rsforum/viewtopic.php?&t=8286
Can you update addSimpleText() as Text.Width is fixed =100
What is the noTextWidth value?
As far as I can detect ...
PrintPreviewImplPro.prototype.addDecorations uses value 1.
CrankWheel.js uses value 1.
ExText.prototype.beginEvent uses value 2.
ExDrawFonts.prototype.beginEvent uses value 1.
Counter.prototype.getOperation uses QCAD.ini or default zero.
TextAlong.prototype.getTextData usses the width of the textData from the dialog.
Regards,
CVH