aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMUILocalizerAndLayoutTweaker.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-08-26 19:00:50 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-08-26 19:00:50 +0000
commit66fc63df47cd6714ca8ff034ae3f54de5ef58ea9 (patch)
tree32a75c26828f5ce26826b2e888c3108e0b5c10b4 /AppKit/GTMUILocalizerAndLayoutTweaker.m
parent7f764065e4d7a0801ecf13741054c6e7fa1e71eb (diff)
[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)
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;