- Home /
How to move text in input field?
Hi, i have masked input field and when i write in it, text goes outside of input field like that:
And what i want to achieve is that:
So text would move with me writing. How do i do that?
Thanks
You could use a ContentSizeFitter Component and align your text right. Then per script you are able to show always the last part of the text by moving your text to "width / 2":
This may not be the best solution but it should work
you're looking for padding not margin.
Margin is outside of the element and padding is on the inside
Your answer
Follow this Question
Related Questions
Text.text does not update 0 Answers
How to detect "Cancel" vs. "Enter" on iOS Inputfield 1 Answer
How to split string into two integers? 3 Answers
UI Text Input Field Long Text String in Short Text Input field 2 Answers
InputField erratic behaviour 0 Answers