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.
精彩评论