setButtonWidth

fun setButtonWidth(buttonId: Int, width: Int): Gui

Sets the button's width. Button textures break if the width is greater than 200

Return

the Gui for method chaining

Parameters

buttonId

id of the button

width

the new width

Sources

Link copied to clipboard