El 12/02/11 14:04, Ed Leafe escribió:
> On Feb 12, 2011, at 11:52 AM, Ricardo Araoz wrote:
>
>> In the following code I get an exception (TypeError: append() got an
>> unexpected keyword argument 'proportion') in *ps.append(txtNombre, 'x',
>> proportion=1, halign='left')*, so obviously I can not use proportion.
>> So how can I tell the sizer that I don't want the first column to grow
>> horizontally but I want the second column to do so?
>       Grid sizers work differently (as you've no doubt determined), because 
> the grow/nogrow aspect affects the entire column, not just individual cells 
> within the column.
>
>       By default, columns are the minimal width that they need to be; to make 
> them expandable, you need to call the setColExpand() method. Read the section 
> entitled "How to make an expandable column on a dGridSizer" on the wiki page 
> http://wiki.dabodev.com/HowToUseADGridSizer and let me know if that makes 
> things clearer.

Done!
Thanks a lot.

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://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