Lots of minimal changes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33613 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2011-07-23 13:43:33 +00:00
parent 09ff289d9e
commit 03508b6e82
8 changed files with 164 additions and 38 deletions

View file

@ -1970,7 +1970,7 @@ static void autoresize(CGFloat oldContainerSize,
flexibleSpace += oldContainerSize - oldContentPosition - oldContentSize;
if (flexibleSpace == 0.0)
if (flexibleSpace <= 0.0)
{
/**
* In this code path there is no flexible space so we divide
@ -1994,7 +1994,7 @@ static void autoresize(CGFloat oldContainerSize,
}
}
}
else if (flexibleSpace > 0.0)
else
{
/**
* In this code path we distribute the change proportionately