Controlling control sizes when programatically resizing a window
Controlling control sizes when programatically resizing a window
- Subject: Controlling control sizes when programatically resizing a window
- From: "Sean McBride" <email@hidden>
- Date: Wed, 15 Dec 2004 18:38:00 -0500
Hi all,
I have a window with some controls on the bottom. At a certain point, I
need to remove these controls and make the window slightly shorter so
there is no empty space where the controls were.
I figured out how to remove the controls and resize the window. But the
gap is not disappearing, instead the tableview (top of window) is
becoming shorter. I suspect this has something to do with the autosizing
(springs in IB), but I'm not sure.
So I start like this:
|---------|
| table |
| table |
| table |
| |
| control |
|_________|
And want this:
|---------|
| table |
| table |
| table |
|_________|
But I'm getting this:
|---------|
| table |
| table |
| |
| |
|_________|
Any suggestions how to handle this?
Thanks!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Mac Software Designer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden