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 a letter spacing option for Balloon and TextForm. #521

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

DavidEdwards
Copy link
Contributor

🎯 Goal

Add letter spacing to the API.

🛠 Implementation details

All changes are essentially a copy of the line spacing code, changed to letter spacing.

✍️ Explain examples

Simply adding a .setTextLetterSpacing(0.1f) can result in improved readability in text:

image

Preparing a pull request for review

Ensure your change is properly formatted by running:

$ ./gradlew spotlessApply

⛔ — This fails already in the main library itself

Then dump binary APIs of this library that is public in sense of Kotlin visibilities and ensures that the public binary API wasn't changed in a way that makes this change binary incompatible.

./gradlew apiDump

✔️

Please correct any failures before requesting a review.

Code reviews

All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.

Copy link
Owner

@skydoves skydoves 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! 💯 Thanks for your contribution

@skydoves skydoves merged commit b07675a into skydoves:main Oct 26, 2023
2 of 3 checks passed
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.

2 participants