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

Font scaling applies to the text in the legend when using AccessibilityRenderExtension #1660

Open
colinmarsch opened this issue Oct 28, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@colinmarsch
Copy link
Contributor

Description
When applying larger font scaling on a test using the AccessibilityRenderExtension, the text in the legend also grows in size.

Steps to Reproduce

@get:Rule
  val paparazzi = Paparazzi(
    theme = "Theme.AppCompat.Light.NoActionBar",
    deviceConfig = DeviceConfig.PIXEL.copy(fontScale = 2.0f),
    renderExtensions = setOf(AccessibilityRenderExtension())
  )

Expected behavior
I would expect only the text in the UI of the application to increase in size and the legend text would remain the same size.

Screenshots

Default scale

Image

Large scale

Image

@colinmarsch colinmarsch added the bug Something isn't working label Oct 28, 2024
@geoff-powell geoff-powell added this to the 2.0.0-alpha01 milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants