TextView horizontal scrolling

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

  1. macrumors member

    Joined:
    Oct 7, 2004
    #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 emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #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