* 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:
gcasa 2009-04-10 18:29:22 +00:00
parent 6fa031ac7a
commit 6a93fe4625
2 changed files with 6 additions and 1 deletions

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)];
}