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

Could not change theme font #54

Closed
arashetm opened this issue Jul 25, 2017 · 7 comments
Closed

Could not change theme font #54

arashetm opened this issue Jul 25, 2017 · 7 comments

Comments

@arashetm
Copy link

In SearchTextFieldTheme we can't set custom font
For example when I use UIFont(name: "BNazanin", size: 10)! in init of SearchTextFieldTheme the tableview does not appear for suggestion

@apasccon
Copy link
Owner

I tested it and it's working. Are you sure you are following the right steps for using custom fonts in your app?. Here you have a good tutorial about it: http://codewithchris.com/common-mistakes-with-adding-custom-fonts-to-your-ios-app/#addfontstoplist

@arashetm
Copy link
Author

Thanks
Successfully added and works !
But I found something else
Suggestion tableview does not appear in iPhone 5 in simulator
(I didn't check in real device)

@apasccon
Copy link
Owner

Good to know you could fix it!.
Regarding simulator please double check that the keyboard is being shown (if not force to show it).

@arashetm
Copy link
Author

so sry
It works
I don't know why that wasn't working
I have a question
How could I move suggestion strings to right I mean in right to left languages we should start from right

@apasccon
Copy link
Owner

In fact right now it's not supporting RTL languages and it's a good suggestion. Thanks for that I'll implement it soon.

@arashetm
Copy link
Author

Is there anyway that I can do on my own to implement RTL ?

@apasccon
Copy link
Owner

Please take a look at the new version 1.1.4, it already supports RTL (forceRightToLeft property).

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

2 participants