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

Truncate text in the recipe book #198

Merged
merged 5 commits into from
Jul 13, 2023

Conversation

AzureAaron
Copy link
Collaborator

@AzureAaron AzureAaron commented Jul 9, 2023

If the width text in the recipe book exceeds 124, then it is truncated and when hovered over a tooltip is drawn to display the text it originally said. This is done to ensure that text cannot go way outside the bounds of the recipe book.

@AzureAaron AzureAaron marked this pull request as draft July 9, 2023 21:07
Now draws a tooltip over truncated text to show what it originally said.

Thanks to @LifeIsAParadox for this solution!
@AzureAaron AzureAaron marked this pull request as ready for review July 12, 2023 18:50
@kevinthegreat1 kevinthegreat1 merged commit 614a563 into SkyblockerMod:master Jul 13, 2023
@AzureAaron AzureAaron deleted the truncate-item-name branch July 14, 2023 20:23
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