On Oct 31, 2009, at 1:10 PM, PCWiz <[email protected]> wrote:

- (void)drawRect:(NSRect)dirtyRect
{
   [[NSColor whiteColor] set];
NSBezierPath *path = [NSBezierPath bezierPathWithRoundedRect:dirtyRect xRadius:6.0 yRadius:6.0];

You're rounding the wrong rect here. You want the whole view frame, not the dirty rect (whatever the drawing machinery has decided is the smallest rect you need to draw).

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to