You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
Could there be a way to tell the shrinkwrap text wrapping algorithm to prioritize not breaking words? I have a situation where I want some text to fit into small square buttons and the current system results in a lot of words with one or two characters broken on to the next line. I could decrease the overall text size, but that would result in buttons with small words being shrunk unnecessarily. I guess my ideal scenario would be a setting where the text is first scaled to fit the longest word on one line and then is it wrapped on spaces as normal.
Canvas-plus is super useful and already seems to be one of the best libraries for handling tricky text wrapping, but I guess want more 😄
The text was updated successfully, but these errors were encountered:
Hi there,
Could there be a way to tell the shrinkwrap text wrapping algorithm to prioritize not breaking words? I have a situation where I want some text to fit into small square buttons and the current system results in a lot of words with one or two characters broken on to the next line. I could decrease the overall text size, but that would result in buttons with small words being shrunk unnecessarily. I guess my ideal scenario would be a setting where the text is first scaled to fit the longest word on one line and then is it wrapped on spaces as normal.
Canvas-plus is super useful and already seems to be one of the best libraries for handling tricky text wrapping, but I guess want more 😄
The text was updated successfully, but these errors were encountered: