No such thing as a small change | |
PerlMonks |
Re: SDLx::Text is not aligningby cxw (Scribe) |
on Feb 09, 2020 at 12:23 UTC ( [id://11112680]=note: print w/replies, xml ) | Need Help?? |
This is my first post here, so take it with a grain of salt :) . If you set the text before rendering with $score->text, what are the values of $score->x, y, w, and h? The h_align method moves text to the left, so possibly off-screen. You might need to set the size smaller than the default 24.
In Section
Seekers of Perl Wisdom
|
|