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

Support auto-sized text #752

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Support auto-sized text #752

merged 1 commit into from
Nov 5, 2024

Conversation

skydoves
Copy link
Owner

@skydoves skydoves commented Nov 5, 2024

Auto-sized text

You can set auto-sized text based on the balloon's window size, specifying minimum and maximum text sizes, as shown in the example below:

.setTextSize(15f)
.setMinAutoSizeTextSize(14f)
.setMaxAutoSizeTextSize(18f)
.setEnableAutoSized(true)

Note: Ensure that the maximum auto text size is set to a value higher than the minimum auto text size.

@skydoves skydoves self-assigned this Nov 5, 2024
@skydoves skydoves merged commit f6df900 into main Nov 5, 2024
3 checks passed
@skydoves skydoves deleted the feature/auto-size branch November 5, 2024 12:05
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.

1 participant