You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the challenges of designing for mobile devices is ensuring that text is legible and visually consistent across different screen sizes and resolutions. One way to improve the flexibility and responsiveness of our designs is by allowing for the use of percentage units on the fontSize style property in React Native.
Allowing percentage units on the fontSize property would make it easier to create designs that look and feel consistent across different screen sizes and resolutions. It would also allow for greater dynamic and adaptive UI elements. This feature will also be align with some properties like width and height that already support percentage units.
Code example
<TextallowFontScaling={false}style={{fontSize: '50%'}}>
Some Text
</Text>
The text was updated successfully, but these errors were encountered:
lgxm3z
changed the title
Percentage units support on fontSize style property 🚀
Percentage units (%) support on fontSize style property 🚀
Jan 28, 2023
Introduction
One of the challenges of designing for mobile devices is ensuring that text is legible and visually consistent across different screen sizes and resolutions. One way to improve the flexibility and responsiveness of our designs is by allowing for the use of percentage units on the fontSize style property in React Native.
Allowing percentage units on the fontSize property would make it easier to create designs that look and feel consistent across different screen sizes and resolutions. It would also allow for greater dynamic and adaptive UI elements. This feature will also be align with some properties like width and height that already support percentage units.
Code example
The text was updated successfully, but these errors were encountered: