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


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to