mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:20:38 +00:00
Handle NSFrameSize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25683 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3bb689ffbb
commit
cfc06480b2
2 changed files with 8 additions and 0 deletions
|
@ -4331,6 +4331,10 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
|||
else
|
||||
{
|
||||
_frame = NSZeroRect;
|
||||
if ([aDecoder containsValueForKey: @"NSFrameSize"])
|
||||
{
|
||||
_frame.size = [aDecoder decodeSizeForKey: @"NSFrameSize"];
|
||||
}
|
||||
}
|
||||
|
||||
_bounds.origin = NSZeroPoint; // Set bounds rectangle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue