Skip to content

Comments

feat: add multiline wrapping to GtxRenderer#2

Closed
lkristensen wants to merge 11 commits intoCaptainFrito:feature/lyra-screensfrom
lkristensen:feature/lyra-screens-ml
Closed

feat: add multiline wrapping to GtxRenderer#2
lkristensen wants to merge 11 commits intoCaptainFrito:feature/lyra-screensfrom
lkristensen:feature/lyra-screens-ml

Conversation

@lkristensen
Copy link

Summary

Added the function wrappedText to GtxRenderer, that returns a vector of strings that do not exceed the with specified. You can specify a max number of lines, and if it that number is exceeded the rest of the text is truncated using truncatedText.

An example implementation has been added to LyraTheme for the title.

Additional Context

Before:
before

After:
after


AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? Consulted chatGPT on return types in ESP32 environment

CaptainFrito and others added 11 commits February 10, 2026 16:43
Added the function wrappedText to GtxRenderer, that returns a vector of
strings that do not exceed the with specified. You can specify a max
number of lines, and if it that number is exceeded the rest of the
text is truncated using truncatedText.

An example implementation has been added to LyraTheme for the title.
@CaptainFrito CaptainFrito force-pushed the feature/lyra-screens branch 8 times, most recently from 4bed383 to 867af15 Compare February 13, 2026 12:27
Copy link
Owner

@CaptainFrito CaptainFrito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dude this is great! Sorry I've been force pushing to my branch so it looks like it messed up your branch. Would you be able to rebase it?
Better yet, you should create your PR on dave's repo, that way you can appear in the contributors.

@CaptainFrito CaptainFrito force-pushed the feature/lyra-screens branch 2 times, most recently from ca453b1 to cec922f Compare February 13, 2026 14:49
@lkristensen lkristensen closed this by deleting the head repository Feb 16, 2026
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