Search Unity

Question Expanding UI InputField?

Discussion in 'UGUI & TextMesh Pro' started by GenexGaming, Oct 20, 2021.

  1. GenexGaming

    GenexGaming

    Joined:
    Oct 10, 2021
    Posts:
    1
    Hello! I have two questions which have been bothering me for a few days now.
    Firstly, when I add a component such as a Content Size Fitter to an element in my UI then remove it, the element (especially the children) acts as though the component still exists unless I 'CTRL + Z' the change instead of manually removing the component. Is this supposed to happen?
    Secondly, what is the easiest way to expand an InputField depending on its text size? I've noticed that Content Size Fitter components do not work for an InputField.