infoTip

fun Commands.infoTip(block: () -> Unit)

Renders a "i" icon which when hovered will show a popup.


fun Commands.infoTip(text: String, wrapWidth: Float = 200.0f)

Calls infoTip(block) to display text in the tooltip. All newlines in the text are discarded and the text is wrapped at the desired width.