开发者

cocoa/osx - Stop NSTextView from expanding past its frame dimension

Does anyone know how to stop an NSTextView from expanding past the di开发者_JAVA百科mension of its frame when the text is added beyond those dimensions?


You can use [textview setVerticallyResizable:NO] to do this.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜