Font size of tabview item title on ios


#1

by default font size of tabview item title on ios is too small, how can i change font size? I tried with css i added class on tabview and give font-size:18, size increased but text was no more centered vertically


#2

There is no way to increase font size???


#3

Did you try setting font size in TabView?


#4

I did style the tab Items using the TabView{…}, but I need a larger font-size and I don’t want the text to wrap


#5

done that but the text wraps


#6

same here… text is not centered vertically when increasing font size and i think its bad idea to use fonsize on tabview tag, it icreases font size also in every childs element, we need something that works only for tabview title


#7

You may again set font on any tab view item’s parent layout which will be inherited to all it’s children.


#8

yes, its actually not a problem, i just mentioned it.


#9

I guess the problem is increasing the font size and the text not wrapping down


#10

I had posted a solution for that already with an example.


#11

Can you pls check this out https://play.nativescript.org/?template=play-vue&id=64mEH5 … I am not getting it right in Ns-Vue.


#12

Double check your code, looks are you are missing _tabLayout.


#13

I have checked and it still didn’t work…


#14

is your solution only for android? we are struggling with ios :smiley: on android fontsize is good, anyone can see it, but only on ios font size is too small


#15

I’m working on android at the moment but when I increase font size it wraps down


#16

for the android manojdcoders solution must be working


#17

Not working in my Nativescript-Vue