Expose line spacing

This commit is contained in:
Autumn Lamonte 2022-01-30 19:13:07 -06:00
parent 8fd88d9ecc
commit 1bb1193b3a

View file

@ -352,7 +352,7 @@ public class TText extends TScrollableWidget {
}
/**
* Convenience method used by TWindowLoggerOutput.
* Add one line.
*
* @param line new line to add
*/
@ -446,4 +446,14 @@ public class TText extends TScrollableWidget {
reflowData();
}
/**
* Set the number of lines between each paragraph.
*
* @param lineSpacing the number of blank lines between paragraphs
*/
public void setLineSpacing(final int lineSpacing) {
this.lineSpacing = lineSpacing;
reflowData();
}
}