mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
default font size fixed
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user