Festus Mutinda
Festus Mutinda

Reputation: 105

Codename one: TextField to keep some space during input

How can i make my textFields that the user input does not start exactly at the margin, like when one starts to type some input some space is left, and also some TextFields that have a HintIcon i want the icon to remain there when user is typing the input.... but let it not be captured when getting the text like .getText(). Any help is appreciated

Upvotes: 1

Views: 24

Answers (1)

Shai Almog
Shai Almog

Reputation: 52760

What you're looking for is padding not margin. It increases the space within the component from it's edges. Simply increase that number to achieve additional spacing.

Upvotes: 0

Related Questions