mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:40:38 +00:00
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:
parent
09ff289d9e
commit
03508b6e82
8 changed files with 164 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue