[AC-2530] Cannot set fontFamily property on Label element
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-02-09T06:32:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Michael Stelly |
Assignee | Ritu Agrawal |
Created | 2014-02-04T22:26:17.000+0000 |
Updated | 2016-03-08T07:41:35.000+0000 |
Description
Steps to Reproduce
Start default project
Apply fontFamily: 'Times New Roman' (for ios) or 'serif' (for android) to Label element in index.tss
Launch app.
Actual Result
Default Label font remains unchanged
Expected Result
Label font changed to Times New Roman / serif.
Comments
JSON Source
I tried setting "font" and not "fontFamily" and it worked as expected. Can you please try using "font" and see if it works for you? "Label": { width: Ti.UI.SIZE, height: Ti.UI.SIZE, color: "#000", font: 'Apple Color Emoji' }
Resolving this ticket as it works fine with "font" property as documented.