Hi guys,
Just working through the API and am I'm not quite sure how to proceed
with putting a Radiogroup into a Group box.
The API example for RadioGroup has the text for the radios set at add-time:
var r1 = new qx.ui.mobile.form.RadioButton();
var r2 = new qx.ui.mobile.form.RadioButton();
var r3 = new qx.ui.mobile.form.RadioButton();
page.getContent().add(r1,"New South Wales");
page.getContent().add(r2,"Queensland");
page.getContent().add(r3,"South Australia");
var radiogroup = new qx.ui.mobile.form.RadioGroup(r1,r2,r3);
However, Group doesn't seem to give us the opportunity to set the text.
var title = new qx.ui.mobile.form.Title("Region");
var radiogroup = new qx.ui.mobile.form.RadioGroup(r1,r2,r3);
var group = new qx.ui.mobile.form.Group([
radiogroup
]);
page.getContent().add(title);
page.getContent().add(group);
I'm certain I'm missing something obvious - this is something that
appears in the Mobile Showcase afterall :)
Suggestions much appreciated :)
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel