diff --git a/Application/InvertedToolbarWindow.h b/Application/InvertedToolbarWindow.h index f446921d8..5ef9e4937 100644 --- a/Application/InvertedToolbarWindow.h +++ b/Application/InvertedToolbarWindow.h @@ -12,6 +12,7 @@ @interface InvertedToolbarWindow : NSWindow { BOOL contentHidden; double contentHeight; + double contentWidth; } @end diff --git a/Application/InvertedToolbarWindow.m b/Application/InvertedToolbarWindow.m index ec1562384..0208dc91e 100644 --- a/Application/InvertedToolbarWindow.m +++ b/Application/InvertedToolbarWindow.m @@ -25,16 +25,19 @@ newFrame.origin.y -= contentHeight; newFrame.size.height += contentHeight; + [[self contentView] resizeSubviewsWithOldSize:NSMakeSize(contentWidth, 0)]; + [self setFrame:newFrame display:YES animate:YES]; + + [[self contentView] setAutoresizesSubviews:YES]; [self setShowsResizeIndicator:YES]; - - [[self contentView] setAutoresizesSubviews:YES]; } else //Hide { NSRect newFrame = [self frame]; + contentWidth = [[self contentView] bounds].size.width; contentHeight = [[self contentView] bounds].size.height; newFrame.origin.y += contentHeight; @@ -43,7 +46,6 @@ [self setShowsResizeIndicator:NO]; [[self contentView] setAutoresizesSubviews:NO]; - [self setFrame:newFrame display:YES animate:YES]; } diff --git a/English.lproj/MainMenu.nib/keyedobjects.nib b/English.lproj/MainMenu.nib/keyedobjects.nib index 0b2643072..567a1fe33 100644 Binary files a/English.lproj/MainMenu.nib/keyedobjects.nib and b/English.lproj/MainMenu.nib/keyedobjects.nib differ