Word-wrap text
Currently text draws on a single line. Would be good to word-wrap it, although as it isn't a fixed-width font, this will involve some tricky maths.
An interim solution for this is to let the user pass their own multi-line string as a slice
Is this library still being maintained? If a PR is likely to be accepted, I'll spend a bit of time restoring backwards-compat
I've been working on adding support for multiline text (plus x and y margins, and also justification).
I'm not sure a fully featured wordwrap is that useful given the very small dimensions. I chose to just allow \n in mulitline text, instead of passing a slice of strings.
(excuse the crappy iphone photo, I didn't feel like dumping the image for each button)

Hi,
Looks great! In terms of being maintained, I personally don't use the library much, but I do still have a Streamdeck so I'll crunch through the PRs when I get a chance and get the library back up to date.
Thanks, Kevin
On Sun, 22 Jan 2023, at 1:00 AM, carpii wrote:
I've been working on adding support for multiline text (aswell as x and margins, and justification)
Is this library still being maintained? If a PR is likely to be accepted, I'll spend a bit of time restoring backwards-compat
(excuse the crappy iphone photo, I didn't feel like dumping the image for each button)
— Reply to this email directly, view it on GitHub https://github.com/magicmonkey/go-streamdeck/issues/6#issuecomment-1399369570, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABKETQCMFMKNJJQRB4JY73WTSBDTANCNFSM4NDB6GQA. You are receiving this because you authored the thread.Message ID: @.***>
Thanks, that's good to know
I'll do a bit more testing and submit a PR
Cheers