RE: NSBox subview size
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.