When is the content width set on a dynlayer?
When I create a dynlayer and have something like:
    html="<pre style=\""
    html+="color:"+this.getColor()+";"
    html+=" font-size:"+this.getSize()+"px;"
    html+=" font-family:"+this.getFace()
    if(this.isItalic) html+= "; font-style:italic"
    if(this.isBold) html+= "; font-weight:bold"
    if(this.isUnderline) html+= "; text-decoration:underline"
    html += "\">"+this.getText()+"</pre>";
  this.setHTML(html);

The content width is still 0 even after I set the HTML.
This number doesn't change until I invoke a onmousedown event, then it
shows that it has a content width.
Is there anything that I could call to check the width?
Thanks,
Matt


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to