开发者

NSTextView Subclass - A4 Paper Look

I am thinking about modifying my NSTextView to look like an A4 sheet. So basically a line drawn around the textContainer, but I don't know how this could be d开发者_StackOverflow社区one...

Just in case no one understands what I mean, I've attached a screenshot :P

http://web.me.com/david.schiefer/a4.png

Thanks :)


If you’re likely to be wanting multiple pages, take a look at TextEdit (Format → Wrap to Page). Source code is in /Developer/Examples/TextEdit/.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜