Re: autosizing fun
Re: autosizing fun
- Subject: Re: autosizing fun
- From: Greg Herlihy <email@hidden>
- Date: Wed, 08 Feb 2006 10:56:06 -0800
- Thread-topic: autosizing fun
I have found that the key to solving these types of resizing problems is to
view the view the window and its contents in IB's hierarchical view.
Otherwise it is too difficult to know exactly which view has been selected
and especially what intervening view in the hierarchy may have been missed
while configuring its auto-sizing properties.
In the hierachcial view it's easy to select each enclosing view up the
entire hierarchy and configure its springs and struts. This view also makes
it easier to experiment and find out the precise effect of any particular
change.
Greg
On 2/8/06 8:54 AM, "Jeff Schindler" <email@hidden> wrote:
> OK, here's what I have. I've got an NSTabView, with one tab that contains
> an NSBox. This box contains an NSScrollView with a bunch of controls
> (enclosed in an NSView) at the top, 2 buttons and a popup at the bottom. If
> I set the autosizing in IB such that the NSBox, 2 buttons and popup should
> stay a fixed size from the top of the view (no springy at top, a springy at
> bottom) the 2 buttons and popup respect that setting, but the NSBox still
> snaps to the bottom of the NSTabViewItem when I resize. Is this a bug, or
> am I doing something wrong? I suspect it has something to do with the
> NSScrollView since when I make that non-vertically-resizable, the box then
> snaps to the top of the view.
>
> TIA,
> Jeff
>
>
> _______________________________________________
> 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
_______________________________________________
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