Cocoa window height with native title bar

I’ve come up with a simple way to reproduce the issue with the window height using the Cocoa code and native title bars.

In the JUCE example application, add this to the HelloWorldWindow constructor:

Then, add this to MainComponent paint handler:

g.setColour(Colours::red); g.drawRect(0,0,600,300);

With the native title bar on, you don’t see the bottom edge of the red rectangle. With the JUCE title bar, you see the whole rectangle.

This is using the code from the tip as of yesterday.

Matt