TextView horizontal scrolling

Discussion in 'Mac Programming' started by widgetman, Jan 3, 2005.

  1. macrumors member

    #1
    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?
     
  2. Moderator

    robbieduncan

    Staff Member

    #2
    You cannot set it directly in IB. You need to do it in your code (awakeFromNib is probably a good place).

    Example Code
     

Share This Page