[Laszlo-dev] LPP-8477, font changes when switching from single line to multiline in IE7
Henry Minsky
hminsky at laszlosystems.com
Wed Oct 14 05:15:51 PDT 2009
I'm trying to figure out why the font is changing back to the default font
when an input field
is set to multiline in IE7/DHTML.
The code in LzInputTextSprite.setMultiline does create a new div, with
_createInputDiv, does that need to
copy the font styles over?
<canvas>
<inputtext id="foo" width="400" x="14" name="foo" font="monospace"
fontsize="11" fontstyle="plain"
multiline="false"
text="${canvas.runtime}"
bgcolor="#ccffcc"
onclick=" setAttribute('multiline', true);
this.setAttribute('height', 100); "/>
</canvas>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20091014/ea7d85fa/attachment.html
More information about the Laszlo-dev
mailing list