Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 58

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
11/27/12 07:06 AM (13 years ago)

Menu Button

Hey, is there a way, when using the menu button and the buttons are on vertical, to choose where the first button starts? The top button is always on top near the edge of the screen, I'd like for it to start a little bit down. Thanks Miguel
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/27/12 07:20 AM (13 years ago)
Have you played around with the padding? If that doesn't work If you are using xcode im assuming 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) below that you will see options //default values int left = buttonPadding; int top = buttonPadding; int tmpCount = 0; Change the top menu value from int top = buttonPadding; to int top = 120; You should see the button move to around the middle with the menu on the left!
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
11/27/12 07:25 AM (13 years ago)
thats exactly what I needed. Thanks. Miguel
 

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.