• 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: "Jonathan E. Jackel" <email@hidden>
  • Date: Mon, 5 Jan 2004 14:29:05 -0500

If I understand you correctly, you want to know the size of a box's content
view. This should work:

[[box contentView] frame].size

Jonathan

> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden]On Behalf Of Wezzy
> Sent: Monday, January 05, 2004 12:54 PM
> To: Cocoa-Dev Dev
> Subject: NSBox subview size
>
>
> 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.
>
> Thanks a lot
> Wezzy
> _______________________________________________
> 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.
_______________________________________________
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: Testing NSLineBreakByTruncatingTail
  • Next by Date: Re: People who develop with MySQL and/or other GPL based code
  • Previous by thread: Re: NSBox subview size
  • Next by thread: XCode and CVS
  • Index(es):
    • Date
    • Thread