NSTEXTVIEW PADDING

Mary Johnson

Total Post:3

Points:21
Posted by  Mary Johnson
 1092  View(s)
Ratings:
Rate this:
In iPhone, using NSTextView that creates a surface margin between text and border, I want to know here is any way to create distance between text and border of view, without resorting owner drawing?
  1. Tarun Kumar

    Post:214

    Points:1642
    Re: NSTextView padding

    To set surface margin of NSTextView manually, use setTextContainerInset: method of NSTextView.
    The height and width components of the NSSize parameter specify the vertical and horizontal padding amount respectively.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!