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 is_done method to BreakLines #319

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

valadaptive
Copy link
Contributor

With the text wrapping styles implemented, I can implement ellipsis truncation in egui by simply creating another layout for the ellipsis. However, to know whether to show the ellipsis, I need to know if there's any text left to wrap. It would be nice to be able to do that without having to actually break another line and then revert it.

@valadaptive valadaptive requested review from xorgy and DJMcNab March 26, 2025 11:53
@xorgy xorgy added this pull request to the merge queue Mar 26, 2025
Merged via the queue into linebender:main with commit 93f55dd Mar 26, 2025
21 checks passed
@DJMcNab
Copy link
Member

DJMcNab commented Mar 26, 2025

@xorgy just FYI, valadaptive is now a Linebender member, and so is now able to merge her own PRs (so she has chance to do any last minute changes, etc.)

@xorgy
Copy link
Member

xorgy commented Mar 26, 2025

Thanks @DJMcNab I see that now.

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.

4 participants