El 04/06/13 15:36, Ed Leafe escribió:
On Jun 4, 2013, at 12:52 PM, Ricardo Aráoz <[email protected]> wrote:

I need to use a dRadioList, but I need it to be split in two columns in this 
way :

    opt1 o        opt2 o
    opt3 o        opt4 o
    opt5 o.........

Now the only example I came by in the DaboDemo is in dGrid but it's a short 
list of choices and only one column. Haven't been able to find any mention of 
columns in the API reference.
Is there a way to do it?
        dRadioList has a property: SizerClass. Set this to dGridSizer, and you 
should be able to configure the sizer's columns to your needs. I tried running 
a quick test, but it looks like dRadioList doesn't deal with grid sizers very 
well - the _checkSizer() method expects regular sizers. I don't know how that 
changed, since one of the goals for creating dRadioList was to allow for 
arrangements other than linear.



I'm getting : TypeError: Invalid keyword arguments passed to dGridSizer: Caption, orientation

So as soon as I can find out how to properly call super(), I was planning on subclassing dGridSizer and intercepting those arguments and see what happens.

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to