Label fonts
Hi,
Im wondering how to use the font parameter, because i want to set a labels font to be something else then the default one. I have tried alot but dont seem to get it working.
Any advice?
2 Answers
-
Accepted Answer
try this:
var label = Ti.UI.createLabel({ text:'label', color:'#ffffff', font:{fontSize:20,fontFamily:'Marker Felt', fontWeight:'bold'} }); win.add(label);
-
wow quick reply, thanks looks like this was just what i needed