Changing the fontsize in TTTabBar, TTTabItem's

36 views
Skip to first unread message

Bongeh

unread,
Jan 11, 2010, 5:36:23 AM1/11/10
to Three20
Hello, i started looking into three20 this weekend just gone and am
very excited to learn everything there is to know about it!

I've started investigating into the TabItems, trying to alter how the
look etc, i've managed to change the backgroundColor of the strip but
i can't work out what i need to do to assign a fontSize to the
tabitems.

I've followed mattvague's tutorials on styles, so know how to make the
style, e.g

[UIFont fontWithSizeOf: 10]; etc

but i dont know what to assign it too, i tried TTTabItem.title but
that didnt want to work.

Sorry if im going about this the wrong way, ive only been coding in
objective c for 2months so far

Thanks in advance

Bongeh

unread,
Jan 11, 2010, 5:56:20 AM1/11/10
to Three20
Ah i found it! hidden away in the "tab:" style for anyone else that
was interested.

Tuyen Nguyen

unread,
Jul 17, 2012, 10:59:07 AM7/17/12
to thr...@googlegroups.com
For your references:

This can be found at:
Three20Style.xcodeproj/Source/StyleSheet/TTDefaultStyleSheet.m

- (TTStyle*)tab:(UIControlState)state

{

}

Reply all
Reply to author
Forward
0 new messages