Search Unity

How to set a Scrollbar target ?

Discussion in 'UGUI & TextMesh Pro' started by bali33, Aug 26, 2014.

  1. bali33

    bali33

    Joined:
    Aug 14, 2011
    Posts:
    232
    Hi guys,

    I have a Panel which contains many Buttons - I decided to add a Scrollbar (create->ui->Scrollbar) but I can't find the way to specify which element has to be scroll (my panel). I tried to set the Scrollbar as a child of the Panel but it didn't change anything.

    I have one other issue w/ the Scrollbar, wether I set it leftToRight or TopToBottom the Scrollbar keep an horizontal shape - it never is vertical.

    What am'I doing wrong ?

    Thank you.
     
  2. Triggles

    Triggles

    Joined:
    Aug 23, 2014
    Posts:
    30
  3. bali33

    bali33

    Joined:
    Aug 14, 2011
    Posts:
    232
    Thank you !