View Full Version : TextView horizontal scrolling

Jan 3, 2005, 09:30 PM
I have a textview that i want to scroll horizontaly as well as vertically, but i cant seem to find anywhere to change it. Can it be done from cocoa? i am missing something in interface builder?

Jan 5, 2005, 10:01 AM
You cannot set it directly in IB. You need to do it in your code (awakeFromNib is probably a good place).

Example Code (http://cocoa.mamasam.com/COCOADEV/2003/12/2/80304.php)