ButtonStyle : setFontFamily

ButtonStyle : setFontSize

ButtonStyle.setFontFamily: Set the face of the text of the button.

ButtonStyle.setFontSize. Set the size of the text of the Button

Examples

button.setFontFamily('MS Sans Serif,Arial,Helvetica,sans-serif'))

button.setFontSize(2)

Syntaxes

Button. setFontFamily(faceName)

Button. setFontSize(number)

Parameters

faceName

String. The name of the face for the text of the Button according to HTML standards.

number

Integer. The size of the text of the Button according to HTML standards.