i have a textField, the height of which i need to update as
text is added, or as the size of the text is changed, which makes
the textField taller.
i am using "onChanged" , plus a listener to the comboBox with
the problem: the variable "newHeight" does catch the change,
but only on the second click after it should trigger the associated
function. in other words, its supposed to tell me if the textField
is longer than 100, so i add a new line (newHeight= 102) and
nothing... then i add another new line, and then it tells me. does
anyone have an idea?