whitesmith / WSTagsField

An iOS text field that represents tags, hashtags, tokens in general.
MIT License
1.28k stars 226 forks source link

Feature request: textAlignment tag textField #83

Open mohammadabushalhoob opened 6 years ago

mohammadabushalhoob commented 6 years ago

Which version of the WSTagsField are you using?

3.1.0

On which platform does the issue happen?

ios 11

Are you using Carthage?

no

Are you using Cocoapods?

1.4.0

Which version of Xcode are you using?

Xcode 9.2 Build version 9C40b

What did you do?

Describe the problem. can you please add textAlignment to textField i made code to do this , if you can look to it .

open var textAlignment: NSTextAlignment = .left{ didSet{ textField.textAlignment = textAlignment } } i add it to WSTagsField file . and it work perfect .

thanks

ricardopereira commented 6 years ago

@abufaeys Ok, I'll add this. Thanks!

ricardopereira commented 6 years ago

@abufaeys What's the intention. To only align the TextField text or align all the elements of the TagsField?

mohammadabushalhoob commented 6 years ago

only align the TextField text , but if we can align all the elements of the TagsField this wil be better .

ricardopereira commented 6 years ago

@abufaeys Align the TextField text is an easy change. Align all the elements will take more time.

mohammadshalhoob commented 6 years ago

what we need to do to align all elements , i will help with Align all the elements .

thank you