Skip to content

Text Button: different results for identical parameters #564

Answered by u1550l
u1550l asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ImpulseAdventure, hi @Pconti31,

I think, I can tell you the solution:

KurtE 's optimized ILI9341-for-teensy driver has an auto-scroll functionality which obviously seems not to be fully aware of the font size. When writing the 5th character, this mechanism hit the right edge of the screen and decided to do a CR/LF.

In https://github.com/KurtE/ILI9341_t3n/blob/master/src/ILI9341_t3n.h:
class ILI9341_t3 has a member variable:
boolean wrap; // If set, 'wrap' text at right edge of display
and
boolean scrollEnable,

I set both to false. Now my Buttons are all beautiful :)

Thank you so much for your support.
-Richard

Replies: 16 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@u1550l
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@u1550l
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ImpulseAdventure
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Pconti31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants