Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing an NSBox from expanding?



On Thu, Feb 21, 2008 at 2:04 PM, Adhamh Findlay <email@hidden> wrote:
>  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?

Sounds like NSTabView performs custom logic when autoresizing its
subviews, which makes perfect sense considering the special behavior
of tab views.  NSTabView is doing the right thing; why aren't you just
sticking the NSBox inside the tab view item's view?

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden

References: 
 >Preventing an NSBox from expanding? (From: Adhamh Findlay <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.