Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 53

StaleysGirl
Aspiring developer
Profile
Posts: 56
Reg: Jul 02, 2012
San Diego
4,260
09/19/14 01:07 PM (9 years ago)

Can I change the type of font in Menu Simple?

I'm working in the simple menu plugin and I was wondering if I can customize the menu row font. I'm not sure what the default is but I'd like to change it. Is this possible? Thanks for all the help, M
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
09/19/14 03:16 PM (9 years ago)
Anything is possible. Are you trying to do this with iOS or Android?
 
StaleysGirl
Aspiring developer
Profile
Posts: 56
Reg: Jul 02, 2012
San Diego
4,260
like
09/19/14 04:09 PM (9 years ago)
Currently iOS. Android is in the future but not quite yet :) Just trying to make my simple list menus look a bit more polished. Thanks for your help!!
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
09/19/14 05:34 PM (9 years ago)
Look in the BT_cell_menuList.m file, around line 314. You should see a line of code that sets the font for the main title label. Either change that to the following, or add the following right after it (doesn't matter), replace FONT_NAME_HERE with the name of the font you want to use: [titleLabel setFont:[UIFont fontWithName:@"FONT_NAME_HERE" size:titleFontSize]]; For a list of available fonts to choose from, check out: http://blog.mohammadkalim.com/2012/10/list-of-fonts-available-font-for-iphone-and-ipad-using-objective-c-and-xcode/
 
StaleysGirl
Aspiring developer
Profile
Posts: 56
Reg: Jul 02, 2012
San Diego
4,260
like
09/19/14 11:06 PM (9 years ago)
Thank you so much!! I couldn't get by without the BT community :)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.