--- Netview.m~ Fri Sep 19 14:19:34 2003 +++ Netview.m Sun Sep 21 14:35:29 2003 @@ -101,8 +101,9 @@ } if ([[_name stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] length] > 0) { - NSSize size = [_name sizeWithAttributes:attrs]; + NSSize size; [attrs setObject:textFont forKey:NSFontAttributeName]; + size = [_name sizeWithAttributes:attrs]; size.height+=5; size.width+=10; Sorry, meant to include this. This should do it. On Sun, 21 Sep 2003, Michael Rossberg wrote: > Hi Derrick, > > thank you for your patch. i applied them to my source tree, they will > be included in the next release. there is only one mistake i want to > point you at: > > + NSSize size =3D [_name sizeWithAttributes:attrs]; > [attrs setObject:textFont forKey:NSFontAttributeName]; > > - NSSize size =3D [_name sizeWithAttributes:attrs]; > > size depends on attrs, therefore you may not switch the lines. > > thank you again > > mick > > >