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

Peter Damoc pdamoc at gmail.com
Thu Jan 4 01:06:27 PST 2007


On 1/4/07, Kevin Ollivier <kevino at tulane.edu> wrote:
>
> BTW, this is just my guess, but I think most people who use absolute
> positioning do so not because they are very particular about a
> control being "right at this spot" on the form (though there are some
> like that), but more because absolute positioning makes UI design as
> simple as "drag, drop, done". That's great for prototyping.


You can prototype with sizers too, just as easy. If you have tools that help
you, like wxGlade, mocking up a GUI is very very easy just that sometimes it
doesn't scale for complex screens.

The point where I started to feel the need for absolute positioning was when
I created a crowded UI where there were a lot of components that NEEDED to
fit on a 1024x768 screen. There was almost no room for fluidity. In the end
the whole thing ended up with a little bit of "skinning" (some gradient
background with "zones" that were delimited by blocks of color that dropped
shadows) and the whole thing  ended up having lots of sizers inside sizers
inside panels to finally create something that would have been very easy to
create with absolute positioning.

Sure there are accessibility issues with absolute positioning, especially if
you don't get support for proper screen DPI handling or if you go
multi-platform BUT in vertical markets you are forgiven. ;) You can even get
away with something like "Sure you can use it on your Mac... just install
Parallels" ;)

Peter
-- =

There is NO FATE, we are the creators.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200701=
04/b5509925/attachment.htm


More information about the wxpython-users mailing list