Skip to content

Commit 1327f3a

Browse files
author
Vladimir Enchev
committed
Merge pull request #1234 from NativeScript/tab-view-item-font-size
default font size fixed
2 parents c999686 + a2fb0c9 commit 1327f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/tab-view/tab-view.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function getTitleAttributesForStates(tabView: TabView): { normalState: any, sele
354354
selectedState[UITextAttributeTextColor] = tabView.ios.tabBar.tintColor;
355355
}
356356

357-
var defaultFont = UIFont.systemFontOfSize(UIFont.labelFontSize());
357+
var defaultFont = UIFont.systemFontOfSize(10);
358358
var font = (<any>tabView.style)._fontInternal.getUIFont(defaultFont);
359359
normalState[NSFontAttributeName] = font;
360360
selectedState[NSFontAttributeName] = font;

0 commit comments

Comments
 (0)