That didn't quite work. I had the same results. The whole code looks
like this:
<canvas height="400" width="800" bgcolor="#EAEAEA">
<dataset name="todos" request="true" src="http:todos.xml" />
<dataset name="projects" request="true" src="http:projects.xml" />
<view width="${parent.width}" height="${parent.height}">
<simplelayout axis="x" spacing="0"/>
<tabslider width="175" height="${parent.height}">
<tabelement text="Contexts" selected="true">
<radiogroup>
<radiobutton text="ALL"/>
<radiobutton text="@computer"/>
<radiobutton text="@errands that have to be done sooner that
later"/>
<radiobutton text="@family"/>
<radiobutton text="@home"/>
<radiobutton text="@outdoors"/>
</radiogroup>
</tabelement >
<tabelement text="Projects">
<radiogroup
datapath="projects:/projects/project">
<simplelayout />
<radiobutton datapath="name/text()" />
</radiogroup>
</tabelement >
</tabslider>
<grid width="650" height="200" datapath="todos:/todos"
contentdatapath="todo">
<gridcolumn width="225" resizable="true">Project
<text datapath="project/text()"/>
</gridcolumn>
<gridcolumn width="275" resizable="true">Name
<text datapath="name/text()"/>
</gridcolumn>
<gridcolumn width="100" resizable="true">Due
<text datapath="due/text()"/>
</gridcolumn>
</grid>
</view>
</canvas>
The data is a static XML file.
Jeremy
On May 1, 2007, at 3:37 PM, Elliot Winard wrote:
Try adding a <simplelayout/> to the <radiogroup/>
-e
On Tue, May 1, 2007 at 3:08 PM, Jeremy Cowgar wrote:
What is wrong with this? When I run my app with this in it, the
radio buttons all appear on the same line.
<radiogroup datapath="projects:/projects/project">
<radiobutton datapath="name/text()" />
</radiogroup>
Jeremy
---=---===-------
Elliot Winard
Sr. Software Engineer
Laszlo Studios
---=---===-------