From 87ef0cf5cc6cd6217d142b17b20ab4bd7d191025 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 19 May 2007 17:02:07 +0000 Subject: [PATCH] fine tune the drag badge look a bit --- macosx/DragOverlayView.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/macosx/DragOverlayView.m b/macosx/DragOverlayView.m index add09eefd..482320ca4 100644 --- a/macosx/DragOverlayView.m +++ b/macosx/DragOverlayView.m @@ -31,12 +31,13 @@ if ((self = [super initWithFrame: frame])) { //create badge - fBackBadge = [[NSImage alloc] initWithSize: NSMakeSize(300.0, 84.0)]; + NSRect badgeRect = NSMakeRect(0, 0, 325.0, 84.0); + + fBackBadge = [[NSImage alloc] initWithSize: badgeRect.size]; [fBackBadge lockFocus]; - [NSBezierPath setDefaultLineWidth: 3.0]; + [NSBezierPath setDefaultLineWidth: 5.0]; - NSRect badgeRect = NSMakeRect(0, 0, 300.0, 80.0); [[NSColor colorWithCalibratedWhite: 0.0 alpha: 0.75] set]; [NSBezierPath fillRect: badgeRect];