git.ithinksw.org
/
MenuTunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
418a547
)
Fixed window height so it's prettier.
author
Kent Sutherland
<ksuther@ithinksw.com>
Mon, 13 Jan 2003 18:42:01 +0000
(18:42 +0000)
committer
Kent Sutherland
<ksuther@ithinksw.com>
Mon, 13 Jan 2003 18:42:01 +0000
(18:42 +0000)
StatusWindowController.m
patch
|
blob
|
history
diff --git
a/StatusWindowController.m
b/StatusWindowController.m
index
d7bd2ff
..
246b911
100755
(executable)
--- a/
StatusWindowController.m
+++ b/
StatusWindowController.m
@@
-14,7
+14,7
@@
- (void)setUpcomingSongs:(NSString *)string
{
- (void)setUpcomingSongs:(NSString *)string
{
-
int size = 0, i;
+int size = 0, i;
NSArray *lines = [string componentsSeparatedByString:@"\n"];
for (i = 0; i < [lines count]; i++) {
NSArray *lines = [string componentsSeparatedByString:@"\n"];
for (i = 0; i < [lines count]; i++) {
@@
-30,7
+30,7
@@
}
[statusField setStringValue:string];
}
[statusField setStringValue:string];
- [statusWindow setFrame:NSMakeRect(0, 0, size + 45, 40 + ([lines count] * 1
7
)) display:NO];
+ [statusWindow setFrame:NSMakeRect(0, 0, size + 45, 40 + ([lines count] * 1
5
)) display:NO];
[statusWindow center];
[statusWindow makeKeyAndOrderFront:nil];
}
[statusWindow center];
[statusWindow makeKeyAndOrderFront:nil];
}
@@
-53,7
+53,7
@@
}
[statusField setStringValue:string];
}
[statusField setStringValue:string];
- [statusWindow setFrame:NSMakeRect(0, 0, size + 45, 40 + ([lines count] * 1
7
)) display:NO];
+ [statusWindow setFrame:NSMakeRect(0, 0, size + 45, 40 + ([lines count] * 1
6
)) display:NO];
[statusWindow center];
[statusWindow makeKeyAndOrderFront:nil];
}
[statusWindow center];
[statusWindow makeKeyAndOrderFront:nil];
}