mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 23:50:49 +00:00
Resize correction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23078 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
315575d1d7
commit
439227702c
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-06-17 20:39 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* Source/GSNibCompatibility.m: Resize window to window rect
|
||||||
|
size in nibInstantiate.
|
||||||
|
|
||||||
2006-06-17 10:52 Gregory John Casamento <greg_casamento@yahoo.com>
|
2006-06-17 10:52 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Removed
|
* Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Removed
|
||||||
|
|
|
@ -205,6 +205,11 @@ static BOOL _isInInterfaceBuilder = NO;
|
||||||
[_realObject setMinSize: _minSize];
|
[_realObject setMinSize: _minSize];
|
||||||
[_realObject setMaxSize: _maxSize];
|
[_realObject setMaxSize: _maxSize];
|
||||||
[_realObject setTitle: _title];
|
[_realObject setTitle: _title];
|
||||||
|
|
||||||
|
// resize the window...
|
||||||
|
[_realObject setFrame: [NSWindow frameRectForContentRect: [self windowRect]
|
||||||
|
styleMask: [self windowStyle]]
|
||||||
|
display: NO];
|
||||||
|
|
||||||
// swap out any views which need to be swapped...
|
// swap out any views which need to be swapped...
|
||||||
en = [[[_realObject contentView] subviews] objectEnumerator];
|
en = [[[_realObject contentView] subviews] objectEnumerator];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue