Canvas size on Native mobile

0
So the canvas size on a default native mobile page has a width of 500 and if you try to decrease it you get an error. So my understanding is that an iPhone 6 only has a width of 375, so when I test my mendix mobile app it cuts off text. How do I solve this issue?
asked
1 answers
2

Hi Alan,

Since the new Native functionality runs on React Native, you have to do a little tweaking with the new way of adding styles to your components. Usually in web apps you can apply word wrapping to text components. However the <Text> component in React Native does not support this functionality, instead, you can apply the following rules to a styling component in your app.

{flex: 1, flexWrap: 'wrap'}

https://stackoverflow.com/questions/36284453/react-native-text-going-off-my-screen-refusing-to-wrap-what-to-do

 

answered