discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Autosizing subviews


From: Fred Kiefer
Subject: Re: Autosizing subviews
Date: Mon, 05 Dec 2005 00:13:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921

Andreas Höschler wrote:
> 
> However, I noted a difference between MacOSX and GNustep. If you call
> setFrame: on a NSView in MacOSX this will call setFrameSize:. On GNUstep
> this is not the case. If sublcasses overwrite setFrameSize: with extra
> functionality, this won't work on GNUstep while it does on MacOSX. May
> be we should change the setFrame: and setFrameSize: implementations of
> NSView, NSScrollView,.. to behave like MacOSX does. Any thoughts?
> 

It would not be to hard to change setFrame: to call the two other
methods (setFrameSize: and setFrameOrigin:), but wouldn't in that case
two notifications be send? And what happens on MacOSX when you overwrite
setFrame:, but call setFrameSize:? Will your own code be called as well?

Fred




reply via email to

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