Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

NSRichTextView Background

 Post Reply Post Reply
Author
Edwin Lau View Drop Down
New Member
New Member
Avatar

Joined: 06 Jul 2012
Posts: 5
Post Options Post Options   Quote Edwin Lau Quote  Post ReplyReply Direct Link To This Post Topic: NSRichTextView Background
    Posted: 26 May 2014 at 6:30am
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 ?


Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3465
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2014 at 6:36am
You will have to add it as a subview of an NSScrollView.
Back to Top
Edwin Lau View Drop Down
New Member
New Member
Avatar

Joined: 06 Jul 2012
Posts: 5
Post Options Post Options   Quote Edwin Lau Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2014 at 6:54am
Thank you. That works like a charm. :) 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down