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

Fix Spanish My Goal text cutting off #204

Open
ginaCFSJ opened this issue May 23, 2024 · 4 comments
Open

Fix Spanish My Goal text cutting off #204

ginaCFSJ opened this issue May 23, 2024 · 4 comments
Assignees

Comments

@ginaCFSJ
Copy link

iWalk Version 3.0.4 (49)
iPhone 11, iOS Version 17.4.1
Screenshot 2024-05-22 at 5 39 41 PM

@francisli
Copy link
Contributor

Ok, it looks like this is happening on your iPhone because you've increased the default text size in the OS settings.

A quick fix may be to disable dynamic text size adjustments in our code, so that it ignores that setting.

https://stackoverflow.com/questions/35046443/supporting-dynamic-type-in-react-native-ios

@ginaCFSJ
Copy link
Author

ginaCFSJ commented Jun 11, 2024

Was it fixed in the code? I went to my iphone setting and adjusted default text sizing smaller, it got fixed and looks ok now. My default size wasn't increased it was in the middle range ( by default).

@francisli
Copy link
Contributor

This answer shows how to disable it on a single piece of text: https://stackoverflow.com/a/35046629

@francisli
Copy link
Contributor

In App.js, lines 18-26, we override the render function once to set the font, I wonder if we can do the same thing to apply the disabling of the dynamic font scaling.

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

4 participants