diff --git a/ChangeLog b/ChangeLog index 1c3da50a6..8ffed23e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-17 20:39 Gregory John Casamento + + * Source/GSNibCompatibility.m: Resize window to window rect + size in nibInstantiate. + 2006-06-17 10:52 Gregory John Casamento * Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Removed diff --git a/Source/GSNibCompatibility.m b/Source/GSNibCompatibility.m index 59f5bfd04..2293784c8 100644 --- a/Source/GSNibCompatibility.m +++ b/Source/GSNibCompatibility.m @@ -205,6 +205,11 @@ static BOOL _isInInterfaceBuilder = NO; [_realObject setMinSize: _minSize]; [_realObject setMaxSize: _maxSize]; [_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... en = [[[_realObject contentView] subviews] objectEnumerator];