SmartClient Version: v9.0p_2013-11-05/LGPL Development Only (built 2013-11-05)
Browser: IE11 (I don't believe the problem is browser specific)
I am attaching sample code. If you just create an onModuleLoad, instantiate this object and then draw it you will see the issue.
The sample code shows three variations. The one that is the issue is the one where the width of the canvas in the CanvasItem is set to 100% and the cell padding on the form is set to something other than 0 (the default is 2 so this issue shows up in the default environment).
If I set the width to 100%, the width of the object does not take the form cell padding into account and the element in the DOM ends up too wide causing horizontal scrollbars to appear in my form container.
Browser: IE11 (I don't believe the problem is browser specific)
I am attaching sample code. If you just create an onModuleLoad, instantiate this object and then draw it you will see the issue.
The sample code shows three variations. The one that is the issue is the one where the width of the canvas in the CanvasItem is set to 100% and the cell padding on the form is set to something other than 0 (the default is 2 so this issue shows up in the default environment).
If I set the width to 100%, the width of the object does not take the form cell padding into account and the element in the DOM ends up too wide causing horizontal scrollbars to appear in my form container.