Re: [solved] NSBox and its contentView
Re: [solved] NSBox and its contentView
- Subject: Re: [solved] NSBox and its contentView
- From: Ryan Stevens <email@hidden>
- Date: Sun, 14 Dec 2003 22:37:44 -0800
I wrote:
I've got a short box (height=26) with the title positioned NSBelowTop.
The goal is to display the contentView to the right of the title. If
this was the box: [ theTitle (theContent) ]
I've tried overriding resizeSubviewsWithOldSize,
resizeWithOldSuperviewSize and autoresizesSubviews. None of this
seemed to help but maybe I'm missing the obvious.
Any pointers?
See;
http://www.cocoadev.com/index.pl?NSBoxAndContentViewPositioning
I don't have a working solution yet (the box is more complex than I let
on so it'll take some work ;-) but I think the path to the solution is
there. And I was missing the obvious...as usual. :-)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.