[wxPython-users] Default Sizers, First Draft (was Re: [wxPython-users] Paren

Nitro nitro at dr-code.org
Thu Jun 1 12:15:29 PDT 2006


Am Thu, 01 Jun 2006 20:42:09 +0200 hat Michael Hipp <michael at hipp.com>  
geschrieben:

>> From: "Christopher Barker" <Chris.Barker at noaa.gov>
>>
>> Robin Dunn wrote:
>> > It's not directly related to this, but while I am thinking about it  
>> one
>> > change that should be made to wxGridBagSizer is to split the wxEXPAND  
>> flag
>> > into two flags such as wxEXPAND_HORIZONTAL and wxEXPAND_VERTICAL.
>>
>> Absolutely.
>
> Any chance we could also have some less verbose abbreviations like maybe  
> wxEH and wxEV (many others also)? Not as a replacement for the  
> full-phrase flags, but as a programmer-friendly alternative.
>
> I've made my own but it would be nice if they were official.

No offense intended, but please don't make that official and force the  
wxPython users to use the verbose style. I want to be able to read other  
people's applications...
The only arguable thing you could do to these constants is give some nicer  
spelled aliases to them like ExpandHorizontal instead of  
EXPAND_HORIZONTAL. That's just a matter of style though and I don't really  
care.

-Matthias





More information about the wxpython-users mailing list