• 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: NSBox subview size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBox subview size


  • Subject: Re: NSBox subview size
  • From: John Randolph <email@hidden>
  • Date: Mon, 5 Jan 2004 10:57:08 -0800

On Jan 5, 2004, at 9:54 AM, Wezzy wrote:

Hi, this is a very stupid question, but i can't find a solution inside documentation. I have a window with a NSBox instance inside. I want to set the box's subview programmaticaly, but i doesn't know the subview size. How can i get it?
i've found contentViewMargins: method but i don't think that this is the right solution.

NSBox resizes the view you hand it in -setContentView:. Is this not working for you?

-jcr
_______________________________________________
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 subview size (From: Wezzy <email@hidden>)

  • Prev by Date: Re: NSPro UI clone?
  • Next by Date: Drawing outside NSScrollView clipping area
  • Previous by thread: NSBox subview size
  • Next by thread: RE: NSBox subview size
  • Index(es):
    • Date
    • Thread