Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: SDLx::Text is not aligning

by cxw (Scribe)
on Feb 09, 2020 at 12:23 UTC ( #11112680=note: print w/replies, xml ) Need Help??


in reply to SDLx::Text is not aligning

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11112680]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-12-08 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?