Search Unity

Basic expanding text box with InputField possible?

Discussion in 'UGUI & TextMesh Pro' started by holyjewsus, Nov 16, 2014.

  1. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
    I have a setup currently working with an a vertical layout and text control, where the text control resizes vertically based on the amount of text, cool.

    If I switch this text control out for an input field, I notice that the text control.text now only points to the visible text in the input field, so my content fitter never grows larger...

    Is there anyway to have the text control reference the value of the input field so that as I type the input field grows?
     
  2. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
    I have a hack for this but it is terrible and makes me grimace, any thoughts?