SkyblockMod icon indicating copy to clipboard operation
SkyblockMod copied to clipboard

Right Align Text

Open symt opened this issue 5 years ago • 0 comments

It would be nice to be able to be able to right-align text. So instead of each line aligning on the left like below, it would align on the right image

Simple way of doing it:

  1. Get length of longest string in module
  2. Offset shorter ones at the beginning of the string to match the longest

It's useful for putting text on the right side of the screen and keeping it against the edge; when the text gets longer, it flows out leftward rather than going off screen.

symt avatar Dec 08 '20 21:12 symt