I recently deployed a custom timesheet application coded completely in
wxPython. / Python. I noticed that on most computers, it looks great.
However, we have a couple of older users that have poor eye sight and
because of this, they have the resolutions on their monitors set as low as
they can go, which in most cases appears to be 800 x 600. My application
is too wide for this configuration.
How do you work around this sort of thing? I am using sizers, but they
cannot accomadate this either. It's usually stretched out beyond the
monitor's size on the y axis and when it's not, it just kind of truncates
the widgets. The user can drag the application such that the left side is
now partially offscreen and then resize the right portion to make it
visible.
Any hints are appreciated. I am using wxPython 2.8.6.1 (msw-unicode),
Python 2.4 on Windows XP.
Thanks!
Mike Driscoll
Applications Specialist
MCIS - Technology Center
I recently deployed a custom timesheet application coded completely in
wxPython. / Python. I noticed that on most computers, it looks great.
However, we have a couple of older users that have poor eye sight and
because of this, they have the resolutions on their monitors set as low as
they can go, which in most cases appears to be 800 x 600. My application
is too wide for this configuration.
How do you work around this sort of thing? I am using sizers, but they
cannot accomadate this either. It's usually stretched out beyond the
monitor's size on the y axis and when it's not, it just kind of truncates
the widgets. The user can drag the application such that the left side is
now partially offscreen and then resize the right portion to make it
visible.
Any hints are appreciated. I am using wxPython 2.8.6.1 (msw-unicode),
Python 2.4 on Windows XP.
Other than ensuring that the minsize of your forms layout is less than 800 pixels wide? Here are a few ideas:
* Have an alternate "narrow" layout that can be selected via an option. IOW, have a short/wide layout and a narrow/tall layout (maybe using a scrolled panel.)
* Use a mechanism that allows for a modular layout, using AUI for example, and let the user arrange and size things as they see fit.
* Have an alternate UI that puts more things in notebooks or similar, where each page shows only a few items using a vertical layout orientation.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I'd also like to suggest putting things into a wxScrolledPanel as the
first child, so that instead of layout being truncated if it's just
too small for the content, the user can scroll. This is a sub-optimal
layout, but as an item of last resort it's better than truncating or
going off the screen.
···
On Dec 26, 2007 4:08 PM, Robin Dunn <robin@alldunn.com> wrote:
Mike Driscoll wrote:
> Hi,
>
> I recently deployed a custom timesheet application coded completely in
> wxPython. / Python. I noticed that on most computers, it looks great.
> However, we have a couple of older users that have poor eye sight and
> because of this, they have the resolutions on their monitors set as low as
> they can go, which in most cases appears to be 800 x 600. My application
> is too wide for this configuration.
>
> How do you work around this sort of thing? I am using sizers, but they
> cannot accomadate this either. It's usually stretched out beyond the
> monitor's size on the y axis and when it's not, it just kind of truncates
> the widgets. The user can drag the application such that the left side is
> now partially offscreen and then resize the right portion to make it
> visible.
>
> Any hints are appreciated. I am using wxPython 2.8.6.1 (msw-unicode),
> Python 2.4 on Windows XP.
Other than ensuring that the minsize of your forms layout is less than
800 pixels wide? Here are a few ideas:
* Have an alternate "narrow" layout that can be selected via an option.
IOW, have a short/wide layout and a narrow/tall layout (maybe using a
scrolled panel.)
* Use a mechanism that allows for a modular layout, using AUI for
example, and let the user arrange and size things as they see fit.
* Have an alternate UI that puts more things in notebooks or similar,
where each page shows only a few items using a vertical layout orientation.