Skip to content

New Features! (Get Width/Height/Lines, Default Line Height and Scroll)

Compare
Choose a tag to compare
@sysl-dev sysl-dev released this 25 Apr 21:37
· 8 commits to master since this release

New Features

  • [scroll] - Scroll the textbox position, good for use with setScissor in Love.
  • textbox.get.width, textbox.get.height, textbox.get.lines - Get the number of lines, the width and height of the text. Note, this will break depending on some text effects, you may want to add some padding.
  • adjust_line_height - Added a feature to adjust line height without hacking the font.