ricardoalcocer / actionbarextras

Titanium Android Native Module that exposes ActionBar features not exposed by the Titanium SDK
MIT License
148 stars 60 forks source link

font ignored when set with object #43

Closed manumaticx closed 10 years ago

manumaticx commented 10 years ago

When you set the title (or subtitle) like this, it doesn't apply the font, only the title.

abx.setTitle({
  text: "Test",
  font: "Aller.ttf"
});
ardiwine commented 10 years ago

I can also confirmed that the font and the title set can only be done in this particular order:

abx.title = 'Test';
abx.font = 'Aller.ttf'; 

I tried the following and did not work

abx.font = 'Aller.ttf';
abx.title = 'Test';
manumaticx commented 10 years ago

@ardiwine Thanks for the hint. Fix is in the making :)