Re: autosizing fun
Re: autosizing fun
- Subject: Re: autosizing fun
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 8 Feb 2006 12:10:24 -0500
I think you've got both too much and not enough information in this
question.
Reduce this to the simplest possible case. (A tab view, a box and a
scroll view?). Then describe in gory detail *all* the sizing springs
set on the pertinent items.
Possibly post an example NIB that demonstrates the problem.
Snapping to the bottom in general is a default behavior so if Cocoa
can't figure out a clear direction for any UI item it seems to
default to bottom-left.
Daniel
On Feb 8, 2006, at 11:54 AM, Jeff Schindler 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.
_______________________________________________
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