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

Add an option to clip text if it goes beyond the Y bounds of paragraph text #2412

Merged
merged 4 commits into from Dec 30, 2023

Conversation

gpeal
Copy link
Collaborator

@gpeal gpeal commented Nov 3, 2023

Added clipTextToBoundingBox to LottieAnimationView, LottieDrawable, and LottieAnimation (compose)

Fixes #2384

Copy link

github-actions bot commented Nov 3, 2023

Snapshot Tests
API 23: Report Diff
API 31: Report Diff

@gpeal gpeal force-pushed the gpeal/respect-paragraph-text-height branch from 79dfc27 to ef35ec3 Compare December 29, 2023 22:58
Copy link

Snapshot Tests
API 23: Report Diff
API 31: Report Diff

@gpeal gpeal force-pushed the gpeal/respect-paragraph-text-height branch from ef35ec3 to 1449525 Compare December 29, 2023 23:15
Copy link

Snapshot Tests
API 23: Report Diff
API 31: Report Diff

Copy link

Snapshot Tests
API 23: Report Diff
API 31: Report Diff

@gpeal gpeal changed the title Clip text if it goes beyond the Y bounds of paragraph text Add an option to clip text if it goes beyond the Y bounds of paragraph text Dec 30, 2023
@gpeal gpeal merged commit c9c8bb7 into master Dec 30, 2023
6 checks passed
@gpeal gpeal deleted the gpeal/respect-paragraph-text-height branch December 30, 2023 00:02
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.

The height parameter is not considered when using the SZ property for multiline dynamic text.
1 participant