NSRichTextView Background

I am testing the mCL and testing the TMSFMXNativeNSRichTextView demo.

When I first run it, the entire background is painted white which is the proper behavior. However, when I enter the Text View and hit the "Return" key, the background seems to be resized and only painted white where there is text. The other half of the screen without text suddenly has a gray background.

The same behavior with TMSFMXNativeNSTextView.

Is there a way to preserve the background ?

You will have to add it as a subview of an NSScrollView.

Thank you. That works like a charm. :)