Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Scroll bar issue

Discussion in 'UGUI & TextMesh Pro' started by Havie, Oct 7, 2020.

  1. Havie

    Havie

    Joined:
    Oct 12, 2019
    Posts:
    89
    If anyone here has exp with scrollbars and can help me w my UI issue please @ me , im stumped on this scroll bar

    It wont seem to generate the proper handle size:
    https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/script-Scrollbar.html
    yet I can scroll the area its in manually and that changes the handle position





    What am I doing wrong?
     
    Last edited: Oct 7, 2020
  2. Havie

    Havie

    Joined:
    Oct 12, 2019
    Posts:
    89
    I solved this by changing the button container height and width which was incorrectly set to 0 , 0 .

    Hope this helps someone