Hi all,
Have some questions.
I define a new button like so :
local buttonAnswerThree = widget.newButton { parent = sceneGroup, defaultFile = "buttonAnswer.png", overFile = "buttonAnswer.png", label = "ANSWER THREE", --emboss = true, --font = "Sans Poster Bold JL", labelColor = { default = { 130, 82, 42 }, over = { 163, 25, 12} } --onRelease = buttonAnswerOnePressed, }
The label color however, does not seem to be working properly.
As soon as one of the r,g,b values have a value > 0, they seem to become 255.
e.g. {1,0,0} , the label will be completely red.
Am I doing something wrong here ?
Also, if i want to build for android, how would I go about changing the fonts for the label.
If i define it like the above ( pointing to a system font in windows ), there will be an error when building for android.
Thanks in advance!