• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [solved] NSBox and its contentView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >NSBox and its contentView (From: Ryan Stevens <email@hidden>)

  • Prev by Date: Drag & Drop on in a NSMatrix
  • Next by Date: Re: Providing bindings support
  • Previous by thread: NSBox and its contentView
  • Next by thread: Wrong result with createDirectoryAtPath:attributes:
  • Index(es):
    • Date
    • Thread