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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Rect's and Image's borders and sizes are different

Discussion in 'UGUI & TextMesh Pro' started by kader1081, Feb 15, 2023.

  1. kader1081

    kader1081

    Joined:
    Oct 16, 2021
    Posts:
    365
    I realized that when I tried to strect the Image İt was way bigger than the place that I want to fit in

    I was making a prefab of an Image than Instatiate it and make it child of a canvas and this happens. I solved with setting the size with width and height properties Sprite-0001.png