Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Red lines when resizing ScrollBar

Discussion in 'UGUI & TextMesh Pro' started by Stepan323446, Aug 28, 2020.

  1. Stepan323446

    Stepan323446

    Joined:
    Jun 8, 2020
    Posts:
    7
    Hello,
    I got a problem. When I resize the default ScrollBar, I get red lines.

    When you start the game, they have everything works fine. But it makes me sick to see it on scene.
    Can you tell me how to fix this?
    Thank you in advance





     
  2. xucian

    xucian

    Joined:
    Mar 7, 2016
    Posts:
    752
    It's probably the "scrolling area" or the "handle" game object. It's best to recreate it separately and then link it to the ScrollRect, after which to make sure you set up the anchors correctly (try to resize it in edit mode and see what causes the lines). Only then go and resize it to whatever is your requirement