SkyFloatingLabelTextField
SkyFloatingLabelTextField copied to clipboard
Align placeholder text with icon
Hello! Any one can have an idea how to align placeholder text with icon. Check the screenshot as well.
There isn't currently any first party support for this, but we are open to PRs contributing it.
Hey, I played around with SkyFloatingLabelTextFieldWithIcon
you can set the variable iconMarginBottom
to position the icon. Here is the code SkyFloatingLabelTextFieldWithIcon#L65-L71
iconMarginBottom set icon position from the bottom as u see in above image, but how I can I align label with icon?
I think you have to do it manually atm. SkyFloatingLabelTextFieldWithIcon
sets the frame based on the variable. I think aligning the icon and label make sense, I can see what I can do. Please submit a PR if you find a solution :)
I have used iconMarginBottom
for now but it would be nice to autoalign this.
Any solution for this already?