SkyFloatingLabelTextField icon indicating copy to clipboard operation
SkyFloatingLabelTextField copied to clipboard

Align icon with text

Open lukeleleh opened this issue 8 years ago • 4 comments

Hi! :) How can I align FontAwesome's icon vertically with the text entered by the user? I know that exists iconMarginBottom but if I run the app on different devices, the final result is different.

Thank you!

lukeleleh avatar Dec 28 '16 11:12 lukeleleh

Ah, I found this a annoying as well. I'll take a closer look. If you find a solution before I do, submit a PR! 😊

bogren avatar Jan 17 '17 08:01 bogren

As you mentioned, you can use iconMarginBottom to adjust the icon. In addition, I think you can override textHeight() to get the behaviour you want.

bogren avatar Feb 19 '17 11:02 bogren

Ok! Thanks, I'll try it ^^

lukeleleh avatar Feb 24 '17 16:02 lukeleleh

Hey! Following up here, did you manage to solve the issue?

bogren avatar May 22 '17 10:05 bogren