From fe98a431c62cc466dbde08e1e35da0bc398ac1f4 Mon Sep 17 00:00:00 2001 From: andym Date: Fri, 7 Mar 2008 17:31:39 +0000 Subject: [PATCH] Fixed #6: status button now sizes to the localization. Thanks to Christiaan Hofman. --- SUStatusController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SUStatusController.m b/SUStatusController.m index 80633c85..a52f34a0 100644 --- a/SUStatusController.m +++ b/SUStatusController.m @@ -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)];