On 31 Dec 2008, at 12:27 am, Michael Ash wrote:
Or better yet, have a separate method which generates the needed size,
and then call that method both from here and the -windowWillResize:
implementation.
Yep, I realised this was all I needed to do, so I refactored the code.
Easy.
thanks,
On Tue, Dec 30, 2008 at 1:48 AM, Graham Cox wrote:
> One of my windows has a delegate implementing the -windowWillResize:toSize:
> method. This forces the window size to be certain whole multiples of rows in
> a matrix of icons, the idea being to prevent the user from sizing the window
> so that o
One of my windows has a delegate implementing the -
windowWillResize:toSize: method. This forces the window size to be
certain whole multiples of rows in a matrix of icons, the idea being
to prevent the user from sizing the window so that only a partial row
is visible, which is ugly. It work