From e1c938bc73510d64b908408bf404eb10a419001e Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Fri, 30 Oct 2009 18:35:16 +0000 Subject: [Author: thomasvl] Add a helper for doing view resizing without resizing subviews. Fix the fixed width call to not change the width. Update the unittest to make sure the fixed width call doesn't change the width. R=stuartmorgan,dmaclach DELTA=41 (30 added, 0 deleted, 11 changed) --- AppKit/GTMUILocalizerAndLayoutTweakerTest.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'AppKit/GTMUILocalizerAndLayoutTweakerTest.m') diff --git a/AppKit/GTMUILocalizerAndLayoutTweakerTest.m b/AppKit/GTMUILocalizerAndLayoutTweakerTest.m index 51dd9ff..5d2375f 100644 --- a/AppKit/GTMUILocalizerAndLayoutTweakerTest.m +++ b/AppKit/GTMUILocalizerAndLayoutTweakerTest.m @@ -63,7 +63,10 @@ static NSUInteger gTestPass = 0; // In the xib, the one field is over sized, the other is undersized, this // way we make sure the code handles both condions as there was a bahavior // change between the 10.4 and 10.5 SDKs. + // The right field is also right aligned to make sure the width of the text + // field stays constant. NSString *kTestStrings[] = { + @"The fox jumps the dog.", @"The quick brown fox jumps over the lazy dog.", @"The quick brown fox jumps over the lazy dog. The quick brown fox jumps " @"over the lazy dog. The quick brown fox jumps over the lazy dog. " -- cgit v1.2.3