addGoodSizedLabel

fun addGoodSizedLabel(text: String, size: Int = 18): Cell<Label>

Adds a caption label: A label with word wrap enabled over half the stage width. Will be larger than normal text if the size parameter is set to >18.

Parameters

text

The caption text.

size

The font size for the label.

Sources

jvm source
Link copied to clipboard