[wxPython-users] how to get the screen size for an application

Paul Koning pkoning at equallogic.com
Wed Jan 3 12:21:43 PST 2007


>>>>> "Peter" == Peter Damoc <pdamoc at gmail.com> writes:

 Peter> On 1/3/07, Chris Mellon <arkanes at gmail.com> wrote:
 >>  Absolute layouts are always wrong. Always.


 Peter> There are some cases where absolute is actually better...
 Peter> I've been experiencing the OS X for some time now and this OS
 Peter> is full of absolute positioning....  

Lots of existing code, including code from OS vendors, does absolute
positioning.  And I agree with Chris that this is always wrong.  The
fact that it's a popular bug doesn't make it any less a bug.

One way to see how wrong this is: increase the UI font size (using
TinkerTool on Mac OS, for example).  Observe how the UI becomes a
total mess, with UI text labels truncated all over the place and
things mispositioned.

If Apple had done the job correctly, this would not have been a
problem.

	paul






More information about the wxpython-users mailing list