NSTextView padding

Total Post:3

Points:21
 1433  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. 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