From cfd03df7f1937e4499878214a4c76a257bf0f228 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 15 Mar 2000 02:41:39 +0000 Subject: [PATCH] Little update in auto-sizing for @"" contents git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6282 72102866-910b-0410-8b05-ffd578937521 --- Source/NSFormCell.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/NSFormCell.m b/Source/NSFormCell.m index 6b51d9740..7f0bba51e 100644 --- a/Source/NSFormCell.m +++ b/Source/NSFormCell.m @@ -203,11 +203,11 @@ static NSColor *shadowCol; NSSize titleSize = [_titleCell cellSize]; NSSize textSize; - if (_contents) + if ((_contents != nil) && ([_contents isEqualToString: @""] == NO)) textSize = [super cellSize]; else { - ASSIGN (_contents, @"minimum"); + ASSIGN (_contents, @"Minimum"); textSize = [super cellSize]; RELEASE (_contents); _contents = nil;