mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Fixed #6: status button now sizes to the localization. Thanks to Christiaan Hofman.
This commit is contained in:
1 parent
ed85eae96a
commit
fe98a431c6
1 file changed
+1
@@ -64,6 +64,7 @@
|
||||
buttonTitle = [aButtonTitle copy];
|
||||
[self didChangeValueForKey:@"buttonTitle"];
|
||||
|
||||
[self window];
|
||||
[actionButton sizeToFit];
|
||||
// Except we're going to add 15 px for padding.
|
||||
[actionButton setFrameSize:NSMakeSize([actionButton frame].size.width + 15, [actionButton frame].size.height)];
|
||||
|
||||
Reference in new issue
Block a user