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?
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.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
The height and width components of the NSSize parameter specify the vertical and horizontal padding amount respectively.