fixed text line wrap issue in UITextField.
Merge pull request #7492 from samuele3hu/v3_hot_fix

Fix a type judgment error.
Merge pull request #7491 from Dhilan007/v3-320final

fixed text line wrap issue in UITextField.