jeudi 27 mars 2014

How to setTextColor on newButton?


Vote count:

0




How can I change font color for widget.newButton?


What I've tried:



playBtn = widget.newButton{
left = display.contentCenterX,
top = 0,
id = "playbutton",
label = "Play",
emboss=true,
width = 250,
height = 70,
fontSize = 30,
defaultFile = "media/button-2.png",
overFile = "media/button-2.png",
onEvent = playBtnF
}

playBtn:setTextColor( 0, 255, 255 )


asked 46 secs ago

Orlo

354





Aucun commentaire:

Enregistrer un commentaire