Search Unity

Question Dynamic Chat Box

Discussion in 'Unity Hub' started by Grimmjow_Jaegerjackquez, Jul 14, 2022.

  1. Grimmjow_Jaegerjackquez

    Grimmjow_Jaegerjackquez

    Joined:
    Dec 14, 2021
    Posts:
    16
    So I am trying to create a Dynamic Chat box which grows based on the text.I saw many tutorials on how to create one and I was successful in it. But now the problem I get is that when I remove the default sprite from the image gameobject and put one of mine , it drastically changes the size to the resolution of Image. ie if image is of 512*512 resolution, the height would become 512.I tried every way to handle this.
    I have attached reference images IMG_20220714_180233.png IMG_20220714_180246.png

    ..