Skip to content

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

@SudheerArava

Description

@SudheerArava

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions