SmartClient Version: v9.0p_2013-11-05/LGPL Development Only (built 2013-11-05)
Browser: IE9 (I don't think the problem is browser-specific)
I am seeing strange behavior when trying to set the height of the canvas in a CanvasItem using pixel notation.
If I set the height of the content using setHeight(20), the height is set as expected to 20px.
If I set the height of the content using setHeight("50%"), the height takes up 50% of the height of the form as expected.
If I set the height of the content using setHeight("25px"), the height takes up the entire form. This seems wrong. Seems like the height should be 25 pixels.
Sample is attached. In your onModuleLoad instantiate the object and draw it.
Browser: IE9 (I don't think the problem is browser-specific)
I am seeing strange behavior when trying to set the height of the canvas in a CanvasItem using pixel notation.
If I set the height of the content using setHeight(20), the height is set as expected to 20px.
If I set the height of the content using setHeight("50%"), the height takes up 50% of the height of the form as expected.
If I set the height of the content using setHeight("25px"), the height takes up the entire form. This seems wrong. Seems like the height should be 25 pixels.
Sample is attached. In your onModuleLoad instantiate the object and draw it.