SmartClient Version: SNAPSHOT_v12.1d_2019-04-15/EVAL Deployment (expires 2019.06.14_07.21.11) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
Chrome and Firefox on OSX
Please try this test case:
it's a complete jsp, because I can not reproduce in the showcase.
You'll obtain this:
![Click image for larger version Name: 2019-04-16 13.49.07.jpg Views: 1 Size: 3.7 KB ID: 257464](filedata/fetch?id=257464&d=1555415358)
with these dimensions:
![Click image for larger version Name: 2019-04-16 13.50.34.jpg Views: 1 Size: 11.7 KB ID: 257465](filedata/fetch?id=257465&d=1555415456)
![Click image for larger version Name: 2019-04-16 13.51.28.jpg Views: 3 Size: 6.1 KB ID: 257466](filedata/fetch?id=257466&d=1555415499)
While the correct dimensions in the showcase are:
![Click image for larger version Name: 2019-04-16 13.53.47.jpg Views: 1 Size: 14.9 KB ID: 257469](filedata/fetch?id=257469&d=1555415637)
I can see that in the getTextBoxWidth method in ISC_Forms:
![Click image for larger version Name: 2019-04-16 13.22.16.jpg Views: 1 Size: 29.8 KB ID: 257463](filedata/fetch?id=257463&d=1555413744)
the basicWidth of 196 is diminished by 19, but I don't know it it's actually here the problem.
Chrome and Firefox on OSX
Please try this test case:
Code:
<%@taglib uri="/WEB-INF/iscTaglib.xml" prefix="isomorphic" %> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> <isomorphic:loadISC skin="Stratus" useDebugModules="true"/> </HEAD> <BODY> <script type="text/javascript"> isc.Canvas.resizeFonts(3, "styles.css"); isc.Canvas.resizeControls(10); isc.DynamicForm.create({ backgroundColor:"white", border:"1px solid blue", autoDraw: true, items: [{ name: "phoneNumber", title: "Phone Number", wrapTitle: false, width: 200, icons: [{ name: "tel", src: "blank", inlineIconAlign: "right", inline: true, text: "✆" }], iconWidth: 16, iconHeight: 16, keyPressFilter: "[-+(),./#0-9 Xx]" }] }).show() </script> </BODY> </HTML>
You'll obtain this:
with these dimensions:
While the correct dimensions in the showcase are:
I can see that in the getTextBoxWidth method in ISC_Forms:
the basicWidth of 196 is diminished by 19, but I don't know it it's actually here the problem.
Comment