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

Scalable font #54

Closed
Tadejo9 opened this issue Apr 14, 2022 · 3 comments
Closed

Scalable font #54

Tadejo9 opened this issue Apr 14, 2022 · 3 comments

Comments

@Tadejo9
Copy link

Tadejo9 commented Apr 14, 2022

Hey,

First of all, great library, I love it!.

Now to the question...is font scaling enabled for title, value and subtitle? Because i would like to have fixed size font, independent of system scaling. Is this possible using this library? It works great on iOS i have issues on Android.

@nithinpp69
Copy link
Owner

Font scaling is enabled by default. There are no props to control this at the moment. We can add a new prop allowFontScaling to the progress component and pass it down to the underlying Text and TextInput components to make this happen. Also what are the issues you are facing on Android?. 🙂

nithinpp69 added a commit that referenced this issue Apr 18, 2022
- fixed padding issue in progress indicator #53
- added new prop to disable font scaling #54
@nithinpp69
Copy link
Owner

nithinpp69 commented Apr 18, 2022

71437a2 fixes this. Added a new prop allowFontScaling. Pass this as false to disable font scaling. Will be available in the next release

@Tadejo9
Copy link
Author

Tadejo9 commented Apr 19, 2022

I've tested released version and it works great. Thanks!

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