Documentation Topics
Function

PRVirconBtnSetLabelOffset()

Sets the given button's label offset coordinates. Use this function to reposition the label within the button, or outside of the button. If positioning outside of the button's body, you should probably turn off the label's scaling effect when the button is pressed. Use the PRVirconBtnSetLabel function to do so.


Declaration

PRVirconBtnSetLabelOffset(btnId, xOffset, yOffset)

Parameters

btnId

The button ID.

xOffset

The x-offset of the label sprite from the center of the button.

yOffset

The y-offset of the label sprite from the center of the button.

Return Value

n/a