Skip to content

Add responsiveness to text components to v5 #3431

@R4Y-R4Y

Description

@R4Y-R4Y

Is your feature request related to a problem? Please describe.

Hello
It would be really great if there's support to add responsiveness to React Native Paper's text components.
When I test an app in different screen sizes and resolutions, the font size, width, margin, padding and basically anything that's scalable gets bigger or smaller for every screen. The size is not consistent.

Describe the solution you'd like

One solution might be to add a Theme Property called responsive that could be set to true or false (and by default be true) that makes the font size and other things responsive (could be customizable by adding either other parameters such as responsiveWidth responsiveHeight that works the same as responsive)

Describe alternatives you've considered

I tried to make a custom component that returns a Text component with the fontSize set to a function called responsive(x) that sets the size of the text accordingly

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions