Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why icon position on top for UILabel with postfix text.? #40

Open
SudheerArava opened this issue Aug 31, 2018 · 0 comments
Open

Why icon position on top for UILabel with postfix text.? #40

SudheerArava opened this issue Aug 31, 2018 · 0 comments

Comments

@SudheerArava
Copy link

SudheerArava commented Aug 31, 2018

I added a label with icon and postfix text.
The icon is set to top position.
Please find my code

label.setIcon(prefixText: "", prefixTextColor: .clear, icon: .appsFont(.keyboard_arrow_down), iconColor:.blue, postfixText: text, postfixTextColor: .blue, size: 18, iconSize: 18)

screen shot 2018-08-31 at 10 47 59 am

I need that arrow center alignment to text.

Please suggest how to overcome this issue.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant