Fixed #6: status button now sizes to the localization. Thanks to Christiaan Hofman.

This commit is contained in:
andym committed 2008-03-07 17:31:39 +00:00
1 parent ed85eae96a
commit fe98a431c6
1 file changed
+1
+1
View File
@@ -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)];