Hi, I have two warnings in Chrome 92.0.4515.159 (and Firefox 90.0.2) javascript console when using forms with titleOrientation: "top" and field width: "100%":
You can test the issue pasting the following code in the Showcase (currently version 12.1p - 2021-08-28).
The form is eventually displayed correctly.
The OS is Windows 10.
Is it a bug?
Thanks
Claudio
*13:58:21.459:MUP5:WARN:sizing:isc_TextItem_10[text]:getVisibleWidth() unable to determine width - returning zero
*13:58:21.460:MUP5:WARN:Canvas:isc_measureContentCanvas:can't resize to width: 0; clamping to 1 [enable 'sizing' log for stack trace]
*13:58:21.460:MUP5:WARN:Canvas:isc_measureContentCanvas:can't resize to width: 0; clamping to 1 [enable 'sizing' log for stack trace]
Code:
isc.DynamicForm.create({ ID: "form1", width: 620, titleOrientation: "top", numCols: 1, fields: [ { width: "*", name: "text", title:"Text", type:"text"}, ] });
The OS is Windows 10.
Is it a bug?
Thanks
Claudio
Comment