discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug with adding subviews?


From: Nicola Pero
Subject: Re: Possible bug with adding subviews?
Date: Tue, 12 Feb 2002 23:58:37 +0000 (GMT)

> > Try adding
> >
> > - (NSArray *)subviewsForModel
> > {
> >     return [NSArray array];
> > }
> >
> > just after @implementation NSBox (GMArchiverMethods) in Model/GMAppKit.m,
> > then rebuild nib2gmodel and regenerate the gmodel.
> >
> > If that works, I'll commit the fix to CVS.
> 
> I don't think I want to do this -- it's common in InterfaceBuilder to enclose 
> interface elements in a box - not just graphically, but hierarchically as 
> well. So I'm not going to disregard all subviews of an NSBox. I'll look at 
> Richards suggestions.

NSBox has always a single subview, which is the content view.
NSBox overrides addSubview: to add the subviews to the content view.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]