default font size fixed

This commit is contained in:
Vladimir Enchev
2015-12-11 10:27:51 +02:00
parent c999686508
commit a2fb0c96be

View File

@ -354,7 +354,7 @@ function getTitleAttributesForStates(tabView: TabView): { normalState: any, sele
selectedState[UITextAttributeTextColor] = tabView.ios.tabBar.tintColor;
}
var defaultFont = UIFont.systemFontOfSize(UIFont.labelFontSize());
var defaultFont = UIFont.systemFontOfSize(10);
var font = (<any>tabView.style)._fontInternal.getUIFont(defaultFont);
normalState[NSFontAttributeName] = font;
selectedState[NSFontAttributeName] = font;