HITGIF/TextFieldBoxes

Change size of the Label text

Closed this issue · 6 comments

Sometimes the size of the label text is too big and take two lines so when the edit text has the focus it animate to the top it still taking two lines but now there are enough space to fill it in one line

You can use getFloatingLabel() then customize it.

But why it's too big..?
Can you provide screenshot?

Hi.

device-2017-10-15-093843
device-2017-10-15-093435

Well... this much information is improper to be put in the label as it would drastically worsen the user experience... You should try to keep the label concise and use a hint for additional information :)

I'm complete agree with you but is there any chance to change the size of the label when the Edit text has not the focus.

Did customizing getFloatingLabel() work?