aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMUILocalizerAndLayoutTweaker.m
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMUILocalizerAndLayoutTweaker.m')
-rw-r--r--AppKit/GTMUILocalizerAndLayoutTweaker.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/AppKit/GTMUILocalizerAndLayoutTweaker.m b/AppKit/GTMUILocalizerAndLayoutTweaker.m
index 525b424..d7494b2 100644
--- a/AppKit/GTMUILocalizerAndLayoutTweaker.m
+++ b/AppKit/GTMUILocalizerAndLayoutTweaker.m
@@ -90,7 +90,7 @@ static BOOL IsRightAnchored(NSView *view);
return SizeToFit(view, NSZeroPoint);
}
-+ (NSUInteger)sizeToFitFixedWidthTextField:(NSTextField *)textField {
++ (CGFloat)sizeToFitFixedWidthTextField:(NSTextField *)textField {
NSRect initialFrame = [textField frame];
NSSize newSize = [[textField cell] cellSizeForBounds:initialFrame];
NSRect newFrame = initialFrame;