From: Kent Sutherland Date: Mon, 13 Jan 2003 18:42:01 +0000 (+0000) Subject: Fixed window height so it's prettier. X-Git-Tag: v1.0~250 X-Git-Url: http://git.ithinksw.org/MenuTunes.git/commitdiff_plain/de68e2c2064bb75d89cbad7a3992b4796520fccd Fixed window height so it's prettier. --- diff --git a/StatusWindowController.m b/StatusWindowController.m index d7bd2ff..246b911 100755 --- a/StatusWindowController.m +++ b/StatusWindowController.m @@ -14,7 +14,7 @@ - (void)setUpcomingSongs:(NSString *)string { - int size = 0, i; +int size = 0, i; NSArray *lines = [string componentsSeparatedByString:@"\n"]; for (i = 0; i < [lines count]; i++) { @@ -30,7 +30,7 @@ } [statusField setStringValue:string]; - [statusWindow setFrame:NSMakeRect(0, 0, size + 45, 40 + ([lines count] * 17)) display:NO]; + [statusWindow setFrame:NSMakeRect(0, 0, size + 45, 40 + ([lines count] * 15)) display:NO]; [statusWindow center]; [statusWindow makeKeyAndOrderFront:nil]; } @@ -53,7 +53,7 @@ } [statusField setStringValue:string]; - [statusWindow setFrame:NSMakeRect(0, 0, size + 45, 40 + ([lines count] * 17)) display:NO]; + [statusWindow setFrame:NSMakeRect(0, 0, size + 45, 40 + ([lines count] * 16)) display:NO]; [statusWindow center]; [statusWindow makeKeyAndOrderFront:nil]; }