* Source/NSView.m: Autoresize subviews since it is not pulling it

from the nib correctly.  Will come back and fix this issue.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28199 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-04-10 18:29:22 +00:00
parent 900a2f4040
commit f3df11134c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-04-10 14:27-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSView.m: Autoresize subviews since it is not pulling it
from the nib correctly. Will come back and fix this issue.
2009-04-10 14:05-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSSplitView.m: Autoresize subviews when loaded from the nib.

View file

@ -4486,7 +4486,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
// We are lucky here, Apple use the same constants
// in the lower bits of the flags
[self setAutoresizingMask: vFlags & 0x3F];
[self setAutoresizesSubviews: ((vFlags & 0x100) == 0x100)];
[self setAutoresizesSubviews: YES]; // ((vFlags & 0x100) == 0x100)];
[self setHidden: ((vFlags & 0x80000000) == 0x80000000)];
}