mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:20:38 +00:00
* Source/NSSplitView.m: Set subviews to resize when loaded from
the nib. * Source/NSView.m: Partial revert of previous change. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
76c2a7ac1f
commit
1d847dc588
3 changed files with 15 additions and 5 deletions
|
@ -4486,13 +4486,9 @@ 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: YES]; // ((vFlags & 0x100) == 0x100)];
|
||||
[self setAutoresizesSubviews: ((vFlags & 0x100) == 0x100)];
|
||||
[self setHidden: ((vFlags & 0x80000000) == 0x80000000)];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self setAutoresizesSubviews: YES]; // ((vFlags & 0x100) == 0x100)];
|
||||
}
|
||||
|
||||
// iterate over subviews and put them into the view...
|
||||
subs = [aDecoder decodeObjectForKey: @"NSSubviews"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue