|
From: | Wolfgang Lux |
Subject: | Re: Windows and content frame |
Date: | Tue, 19 Jul 2011 11:28:59 +0200 |
Fred Kiefer wrote:
The interesting question is why GNUstep displays the window as expected. Most likely the size restrictions are the reason for that.
Indeed. The problem is our implementation of NSWindow - setFrame:display:, which clips the window's size by its minimum and maximum sizes. But Apple's NSWindow documentation says that this should not be the case. In particular, the documentation on - setMaxSize: says: "The maximum size constraint is enforced for resizing by the user as well as for the -setFrame... methods other than setFrame:display:. (see http://developer.apple.com/library/mac/#documentation/Cocoa/ Reference/ApplicationKit/Classes/NSWindow_Class/Reference/ Reference.html%23//apple_ref/doc/uid/TP40004151 ). Ditto for - setMinSize:
Wolfgang
[Prev in Thread] | Current Thread | [Next in Thread] |