git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweaked the image position in the status window a bit. Added base of the
[MenuTunes.git]
/
StatusWindowController.m
diff --git
a/StatusWindowController.m
b/StatusWindowController.m
index
85d94df
..
3e7522e
100755
(executable)
--- a/
StatusWindowController.m
+++ b/
StatusWindowController.m
@@
-116,10
+116,13
@@
static StatusWindowController *sharedController;
if ( art != nil ) {
image = art;
NSSize size = [image size];
if ( art != nil ) {
image = art;
NSSize size = [image size];
- if (size.width > 110) {
- [image setScalesWhenResized:YES];
+ [image setScalesWhenResized:YES];
+ [image setSize:NSMakeSize(110, 110)];
+ /*if (size.width > 110 && size.width > size.height) {
[image setSize:NSMakeSize(110, (size.width / size.height) * 110)];
[image setSize:NSMakeSize(110, (size.width / size.height) * 110)];
- }
+ } else if (size.height > 110 && size.height > size.width) {
+ [image setSize:NSMakeSize((size.height / size.width) * 110, 110)];
+ }*/
} else if ( source == ITMTRemoteLibrarySource ) {
image = [NSImage imageNamed:@"Library"];
} else if ( source == ITMTRemoteCDSource ) {
} else if ( source == ITMTRemoteLibrarySource ) {
image = [NSImage imageNamed:@"Library"];
} else if ( source == ITMTRemoteCDSource ) {