Skip to content

Conversation

@andrewkunkel
Copy link

@andrewkunkel andrewkunkel commented Dec 18, 2025

Summary:

This replaces the hard-coded 100px value that's being used today. What we really want is to set this to 100% of the text width for display name styles, but that seems to involve some non-trivial rendering changes, so I'm starting with a lower impact change first by just accepting a number from the client. I'll try to get the client to calculate width dynamically at render time, and if that doesn't work well we may revisit this to add a dynamic mode to the attribute.

Previous PRs for display name styles:

Changelog:

[|INTERNAL] [ADDED] - Added support for gradientWidth in our text attributes.

Test Plan:

No user-visible changes. Regression tested locally with and without gradients on Android and iOS using test instructions.

@andrewkunkel andrewkunkel changed the title Implemented simple integer gradientWidth param. Implemented gradientWidth text attribute. Dec 19, 2025
@andrewkunkel andrewkunkel requested review from Flewp and insacc December 19, 2025 18:30
Copy link

@insacc insacc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@andrewkunkel andrewkunkel removed the request for review from Flewp December 19, 2025 19:18
@andrewkunkel andrewkunkel marked this pull request as ready for review December 19, 2025 19:26
@andrewkunkel andrewkunkel requested a review from Flewp December 20, 2025 01:32
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

Successfully merging this pull request may close these issues.

3 participants