Hi,

I was having a problem getting Mozilla to render a textbox with wrapped text, so I decided to check back on the sample code in the XUL Planet XUL tutorial (which is great), but found that the simple wrapping textbox example did not work.

Here is is, unmodified from the tutorial -- but the text in the value attribute does not display in the textbox on my Mozilla 1.2.1, though it does display and wrap any new text inputted when the app is run:

<?xml version="1.0"?>

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window id="example-window" title="Example 2.4.2"
        xmlns:html="http://www.w3.org/1999/xhtml";

xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";>
<textbox multiline="true"
           value="This is some text that could wrap onto multiple lines."/>


</window>


Anybody know why this doesn't work? Has something changed in Mozilla since this tutorial was produced?

Any suggestions would be welcome.

Thanks,
Ronan




Reply via email to