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

Plus Symbol is not centre for country code #53

Open
Raviteja-Mathangi opened this issue Nov 16, 2019 · 1 comment
Open

Plus Symbol is not centre for country code #53

Raviteja-Mathangi opened this issue Nov 16, 2019 · 1 comment
Labels

Comments

@Raviteja-Mathangi
Copy link

General Information

Hope you find here Screen Short : https://prnt.sc/pxwunv

  • NKVPhonePicker Version:
    2.1.10
  • iOS Version(s):
    12.4.2
  • Swift Version:
    4
  • Device or Simulator:
    Device iPhone 6
  • Did you check an example:
    Yes i checked example

What happened?

I have textfield with class of NKVPhonePicker and position is (20, 50, 335, 50), I set up Initial country code as IN ...Here is my code
/*
countryTF?.favoriteCountriesLocaleIdentifiers = ["RU", "ER", "JM"]
countryTF?.rightToLeftOrientation = false
countryTF?.shouldScrollToSelectedCountry = false
countryTF?.flagSize = CGSize(width: 30, height: 50)
countryTF?.enablePlusPrefix = true
let country = Country.country(for: NKVSource(countryCode: "IN"))
countryTF?.country = country
countryTF?.customPhoneFormats = ["IN" : "## #### ### ###"]
*/

  • text is not centre to country code

What did you expect to happen?

If + will centre to Country code it looks good . May be it will helpful to all

@NikKovIos
Copy link
Owner

Thanks for the bug. By now i don't have time to fix it. Maybe you can create a MR with fix?

@NikKovIos NikKovIos added the bug label Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants