diff --git a/SUUpdateAlert.m b/SUUpdateAlert.m index bf3e35ee..2ef5158b 100644 --- a/SUUpdateAlert.m +++ b/SUUpdateAlert.m @@ -166,6 +166,9 @@ { // Resize the window to be appropriate for not having a huge release notes view. frame.size.height -= [releaseNotesView frame].size.height + 40; // Extra 40 is for the release notes label and margin. + + if ([self allowsAutomaticUpdates]) + frame.size.height += 10; // Make room for the check box. // Hiding the resize handles is not enough on 10.5, you can still click // where they would be, so we set the min/max sizes to be equal to @@ -174,8 +177,7 @@ [[self window] setMinSize: frame.size]; [[self window] setMaxSize: frame.size]; } - - if (![self allowsAutomaticUpdates]) + else if (![self allowsAutomaticUpdates]) { NSRect boxFrame = [[[releaseNotesView superview] superview] frame]; boxFrame.origin.y -= 20;