mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +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;
|
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);
|
var font = (<any>tabView.style)._fontInternal.getUIFont(defaultFont);
|
||||||
normalState[NSFontAttributeName] = font;
|
normalState[NSFontAttributeName] = font;
|
||||||
selectedState[NSFontAttributeName] = font;
|
selectedState[NSFontAttributeName] = font;
|
||||||
|
Reference in New Issue
Block a user