Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2530] Cannot set fontFamily property on Label element

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-02-09T06:32:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMichael Stelly
AssigneeRitu Agrawal
Created2014-02-04T22:26:17.000+0000
Updated2016-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

  1. Ritu Agrawal 2014-02-05

    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' }
  2. Ritu Agrawal 2014-02-09

    Resolving this ticket as it works fine with "font" property as documented.

JSON Source