[wxPython-users] Size of controls on wxMac

Christopher Barker Chris.Barker at noaa.gov
Fri Feb 23 16:35:26 PST 2007


Kevin Ollivier wrote:
> See wxWindow::SetWindowVariant

Bingo! I knew that was there somewhere!

> Not really; this isn't a wx problem, it's that different HIGs have 
> different spacing requirements and using the same border size on three 
> different platforms is pretty much like setting size in pixels - it 
> doesn't work well cross-platform.

Well, yes, but I find that almost universally, my buttons on the Mac 
need more space. In general, things seem to look pretty good on GTK and 
Windows without adding space much, but on the Mac things are crammed 
right up against the edges. I can't help thinking that the default sizes 
of controls are just too small on the Mac.


> Check the "Recent Additions" section of the wxPython 2.8.1.1 demo for 
> SizedControls. There's a demo and some preliminary docs there.

Bingo again! I'll be checking that out!

thanks,
-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list