mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Fixes #175: Bug: update alert text collides with automatic download checkbox
This commit is contained in:
1 parent
803925f2cf
commit
6960045e2b
1 file changed
+4
-2
+4
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user