开发者

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

开发者 https://www.devze.com 2023-04-10 08:41 出处:网络
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]

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

精彩评论

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

关注公众号