On Jun 4, 2013, at 2:30 PM, Ricardo Aráoz <[email protected]> wrote:
>> 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
Well, that's exactly what I meant by my comment about grid sizers not
working well.
> 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.
Not necessary - the problem is that these are passed rather than set
directly. Change the _checkSizer() method to look like this:
https://gist.github.com/EdLeafe/5709017
BTW, pasting your code into a gist on GitHub is more readable than the
way it comes through in an email.
-- Ed Leafe
_______________________________________________
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]