From 4310532c50d9b0a4aea44f9b1d2ef336c69da80b Mon Sep 17 00:00:00 2001 From: vspader Date: Thu, 1 Nov 2007 02:15:14 +0000 Subject: [PATCH] Fixed bugs in miniplayer --- Application/InvertedToolbarWindow.m | 12 ++++++++---- English.lproj/MainMenu.nib/keyedobjects.nib | Bin 73123 -> 73123 bytes 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Application/InvertedToolbarWindow.m b/Application/InvertedToolbarWindow.m index cf31c1860..a6cdcb7a2 100644 --- a/Application/InvertedToolbarWindow.m +++ b/Application/InvertedToolbarWindow.m @@ -20,7 +20,8 @@ { NSLog(@"Size: %lf %lf", [self minSize].width, [self minSize].height); - if (contentHidden) { + if (contentHidden) //Show + { NSRect newFrame = [self frame]; newFrame.origin.y -= contentHeight; @@ -29,8 +30,11 @@ [self setFrame:newFrame display:YES animate:YES]; [self setShowsResizeIndicator:YES]; + + [[self contentView] setAutoresizesSubviews:YES]; } - else { + else //Hide + { NSRect newFrame = [self frame]; contentHeight = [[self contentView] bounds].size.height; @@ -39,10 +43,10 @@ newFrame.size.height -= contentHeight; [self setShowsResizeIndicator:NO]; + + [[self contentView] setAutoresizesSubviews:NO]; [self setFrame:newFrame display:YES animate:YES]; - - [self setShowsResizeIndicator:NO]; } contentHidden = !contentHidden; diff --git a/English.lproj/MainMenu.nib/keyedobjects.nib b/English.lproj/MainMenu.nib/keyedobjects.nib index b25c5231a6560b16ac1350fb42d8e887dcde09b3..7bb3a6adfe825bfff24168616bf845e0b2075905 100644 GIT binary patch delta 3960 zcmXArd6d<}w#H9YWmlhbda$+)-A!Z?WJX3o2AO4$d5{Yt0tzt)r-A6b>`@B4jwCt1GDTE5L% z*Cta&hS)JXUeqyj6z5%vmS*M^ZOLrbnYFS<+N10z?WgR~_89wVyU-qMkF&?y&)EO8 zC)m&06YWX%bM|CWZcnkFx2M|E>=*18?dkSQ_6&Qb{j&W^QNye^Z86^7ZSS$awfEZl z?CmDZ9I*d6&-f6KCN9T$L(X7p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