render

fun render(lines: Collection<FormattedLine>, labelWidth: Float = 0f, padding: Float = defaultPadding, iconDisplay: FormattedLine.IconDisplay = FormattedLine.IconDisplay.All, linkAction: (id: String) -> Unit? = null): Table

Build a Gdx Table showing formattedcontent.

Parameters

labelWidth

Available width needed for wrapping labels and centered attribute.

padding

Default cell padding (default 2.5f) to control line spacing

iconDisplay

Flag to omit link or all images (but not linking itself if linkAction is supplied)

linkAction

Delegate to call for internal links. Leave null to suppress linking.

Sources

jvm source
Link copied to clipboard