Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 113

mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
01/11/13 08:48 PM (13 years ago)

Tutorial iOS: Customize Menu Button Padding

Based on the post by Broomla (awesome developer) http://www.buzztouch.com/forum/thread.php?tid=1EE6FD81429F3543F7430E0 Go to your BT_screen_menuButtons.m file and search for this: //possible label layout styles: above, top, middle, bottom, below (labels are same width as buttons) //default values int left = buttonPadding; int top = buttonPadding; int tmpCount = 0; Change the top menu value from int top = buttonPadding; to int top = 120; Before http://www.snurlz.com/wp-content/uploads/padding1android.png After http://www.snurlz.com/wp-content/uploads/padding2android.png
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/11/13 11:28 PM (13 years ago)
Yup. Good one!!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/11/13 11:32 PM (13 years ago)
I need to start categorizing this stuff somehow. Great pearls! Cheers! -- Smug
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
01/12/13 04:40 AM (13 years ago)
@mysps good stuff! I was thinking of a plugin that would basically be the button menu plugin with a header image. But with this hack I think I could fake it with a background image! Thanks :) cheers Darrel
 

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.