Greetings,

I've got an NSBox that I am trying to install into a tab view item. Here's the code:

NSBox *boxView = [foo theBox];
[[tabView selectedTabViewItem] setView: boxView];

This works great as all the controls in the box appear, but the boxView expands to take up the full frame of the selectedTabViewItem. This is a problem because I want to use the different between the boxView and the selectedTabViewItem to resize the window, thus preventing a lot of empty space in the window.

I've tried setting autoResizeMask to NSViewNotSizable, and turned off all the automatic sizing options in IB, but the box still expands.

Is there a way to prevent the box from expanding?

Thanks,

Adhamh
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to