autoSizeToText

fun <Error class: unknown class>.autoSizeToText(text: String = this.text): <Error class: unknown class>

Automatically sizes the LabelAPI to the given text, or to the label's text if no text is given. Usage: tooltip.addPara().autoSizeToText().position.inMid()