Auto Frame resizeing?

Thanks, Rich. I agree with that. Most of the panels fit nicely in a fixed size, but one is much larger than the rest. I was thinking about maybe having
all stay the same size except the large one, but I now think it would make more sense to just create subpanels on the large one.

Thanks for your candor,

Ron

···

-----Original Message-----
From: Rich Shepard [mailto:rshepard@appl-ecosys.com]
Sent: Tuesday, August 23, 2005 10:07 AM
To: wxPython-users (E-mail)
Subject: Re: [wxPython-users] Auto Frame resizeing?

On Tue, 23 Aug 2005, Shoemaker, Ronnie A. wrote:

> I have an application consistiing of a frame with Notebook,
the notebook
> contains several panels. Is there a way to have the frame
expand/contract
> to fit the panel being displayed? Some panels have only a
few widgets and
> it looks strange to have a huge empty space there.
currently I am setting
> the size of the frame to be large enough to show the largest panel.

Ron,

   I don't have the answer, but a comment on what you propose. When I
visualize having the application frame change size as I tab
from one notebook
page to another, I don't have warm and fuzzy thoughts about
the designer of
this UI. I cannot think off-hand of an application that does
this. Text
windows will sprout scroll bars if the contents exceed the
view port, but
they don't expand and shrink under programmatic control.

   Let the user resize the window to suit her fancy.

Rich

--
Dr. Richard B. Shepard, President | Author of
"Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) | Impact Assessments
Using Fuzzy Logic"
<http://www.appl-ecosys.com> Voice: 503-667-4517
Fax: 503-667-8863

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org