Having said all that, something rather buggy occurs if you set a background
color.  Try running this:

<Window maximized="true"
    xmlns:bxml="http://pivot.apache.org/bxml";
    xmlns="org.apache.pivot.wtk">
<TextPane>
<Document xmlns="org.apache.pivot.wtk.text" bxml:id="docMain">
<Paragraph backgroundColor="yellow">
<Span font="{bold:true}">
<TextNode text="Label:" />
</Span>
<TextNode text=" something of interest " />
<Span font="{italic:true}">
<TextNode text="(some remark)" />
</Span>
</Paragraph>
</Document>
</TextPane>
</Window>

When I run it, I get three disconnected splotches of yellow, the third of
which only repaints itself when the second one does.  So yes, I guess the
support is a little buggy :-).

Reply via email to