From 66fc63df47cd6714ca8ff034ae3f54de5ef58ea9 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Wed, 26 Aug 2009 19:00:50 +0000 Subject: [Author: thomasvl] Not sure what I was thinking, sizes are CGFloats and it couldn't be unsigned since the height to grow or shrink... R=stuartmorgan DELTA=2 (0 added, 0 deleted, 2 changed) --- AppKit/GTMUILocalizerAndLayoutTweaker.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AppKit/GTMUILocalizerAndLayoutTweaker.m') 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; -- cgit v1.2.3