Skip navigation.
 
ml[SOLVED] Re: NSView not resizing when parent view resizes
FROM : Michael Becker
DATE : Thu Dec 09 15:14:20 2004

Am 09.12.2004 um 14:26 schrieb Louis C. Sacha:
> NSBox instances use an instance of NSView as a content view, so you
> probably don't want to directly add your custom view as a subview of
> the NSBox.


Aaaah! Okay, thank you! I completely missed that :-) Alright. Thanks a
lot.

>     [[container contentView] addSubview:yourCustomView];


I'm doing it now by going with:

[ container setContentView:myCustomView];

which works like a charm :-) Thanks!

Cheers,
Michael

Related mailsAuthorDate
mlNSView not resizing when parent view resizes Michael Becker Dec 7, 03:06
mlRe: NSView not resizing when parent view resizes Michael Becker Dec 7, 17:58
mlRe: NSView not resizing when parent view resizes Ricky Sharp Dec 7, 18:30
mlRe: NSView not resizing when parent view resizes Michael Becker Dec 8, 11:24
mlRe: NSView not resizing when parent view resizes John C. Randolph Dec 8, 19:02
mlRe: NSView not resizing when parent view resizes Michael Becker Dec 9, 11:52
mlRe: NSView not resizing when parent view resizes Louis C. Sacha Dec 9, 14:26
ml[SOLVED] Re: NSView not resizing when parent view resizes Michael Becker Dec 9, 15:14