:: Forum >>

Padding Information Problem

When you do a structure or other output that should be indented, we
generate lines of the following type:

obj.setCellText('<span style="padding-left:20">JEFF-0001</span>',2,4);


obj.setCellText('<span style="padding-left:20">2</span>',2,3);

With our old ActiveWidgets runtime and common directories, the lines are
padded left 20 pixels properly. With the new 2.5.1 ActiveWidgets
runtime and common directories the second example pads just fine, while
the first example does not pad at all. I don't know what the problem
is. It looks like if there is Alpha data in the string to be padded
it's not padding. If the data is all numeric then it pads just fine.
Mike Statham
Friday, December 14, 2007
I cannot reproduce this. When I add those two lines both are padded just fine, so I guess there is something else which triggers this, possibly some incorrect markup in the cells before 2,4?
Alex (ActiveWidgets)
Monday, December 17, 2007
Check what is actually written to the page with

}, 2000);
Alex (ActiveWidgets)
Monday, December 17, 2007

This topic is archived.

Back to support forum

Forum search