[DF-3233] implement measure layout and invalidate TextField