embedded font won't work in Flex mobile ActionBar

前端 未结 6 1104
执念已碎
执念已碎 2021-02-09 14:33

i\'ve got a few fonts embedded and am using them in my mobile application, and they are all working, except for the ones i try to use for the \"ActionBar\". They work everywhere

6条回答
  •  囚心锁ツ
    2021-02-09 15:09

    Try adding this to the ActionBar tag, to remove the bold styling:

    creationComplete="event.currentTarget.titleDisplay.setStyle('fontWeight', 'normal')"
    

    If that works, then you can try a better solution like extending the ActionBar class, or embedding the font in a bold style as well.

提交回复
热议问题