Skyscanner / SkyFloatingLabelTextField

A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift.
Apache License 2.0
4.09k stars 540 forks source link

Adjusting the Selected Title's Position #252

Open HermanKayy opened 5 years ago

HermanKayy commented 5 years ago

I want to adjust the position of the top label when it's floated up. I want to bring that selected title's position a bit lower closer to the input text. Any wayI can do that?

antonyjamese commented 5 years ago

We can decrease the textfield height so that it will become closer

k0nserv commented 5 years ago

Hey @HermanKayy can you try using a subclass for this?

VoidAsif commented 1 year ago

titleLabelRectForBounds customise this function to achieve it!