Search Unity

Question Very ugly lines with panel, how to fix?

Discussion in 'UGUI & TextMesh Pro' started by Kechrimpari, Feb 22, 2024.

  1. Kechrimpari


    Apr 5, 2022
    So I'm trying to set up a canvas, with a panel, so I set the panel up, make it black, etc, and I notice: upload_2024-2-21_19-23-22.png
    The panel isn't stretching all the way, which is kind of annoying. And ugly.
    So I found a post where someone had a similar problem, so I turn the sprite to "none", set the ui scale mode to "Scale with screen size", set screen match mode to "match width or height", drag the slider to 1, as the "reference resolution" was 800 by 600, reset the scale, manually took it off and back on "stretch", and what do you know? It's still there. I even referenced an old scene where I had a panel (In a different project), looked at each of the component values, which were all the same, and that old one worked! I have no idea what I'm doing wrong. Please help!