Discussion Forums  >  Uncategorized

Replies: 6    Views: 309

ccosenza777
Apple Fan
Profile
Posts: 32
Reg: Aug 19, 2011
Annapolis
320
09/17/11 08:51 PM (14 years ago)

Putting Menu-Buttons in middle of screen

Hello I would liked o pot just 2 menu buttons on a screen but i want them centered in the screen
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
09/17/11 10:29 PM (14 years ago)
Take a look at this post... you should be a able to use this info then also adjust your button size and margins in the buzztouch control panel http://www.buzztouch.com/forum/thread.php?tid=8E095DD010379FDD27CA61F&status=&searchInput=search...&sortColumn=FT.id&sortUpDown=DESC¤tPage=9&doViews=1 i used this to create a game where you find an image and when tapped it plays a sound effect (kinda like Where's Waldo) You can also specify which screens you want to move these buttons around on so all screens don't get the same treatment...here is an example of what you could do (remember, the forum does not show the quotation marks that would go around the long string of numbers)... if([[self.screenData itemId] isEqualToString:@5142B9F5EC531640DE9C537]){ left=252; top=320;} let me know if you need more help :)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/17/11 10:54 PM (14 years ago)
Just made this comment to that thread : So I should point out, if I'm correct here, that the only way this works for your app in the long run is if you host the BT_Config.txt file somewhere other than the BT servers, correct? Since you are making adjustments to this file outside of what can be done in the Control Panel, they won't be reflected in the master copy of the file. @David/@Parker : Another stab here at the eventual ability to make manual changes to BT_Config.txt (or, upload a changed copy) on the BT servers! Thanks!
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
09/17/11 11:07 PM (14 years ago)
Hi GNW, I guess if the screendata itemId changed it would mess things up but i am having no trouble with my app and the config file is on the Bt server... i do get what you are saying tho, would be cool to change config.txt on BT server :)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/17/11 11:13 PM (14 years ago)
Nope, @ianjamespiano, you are totally correct! I wasn't thinking clearly when I posted that...there is no call to the BT_screen_menuButtons.m from the app...that gets used at compile time (I assume). So, you could change those to your hearts content and still have things work. The only caveat would be if you downloaded the source again, and accidentally overwrote your changes. My bad for confusing the issue! But I still stand by my request for editing of the BT_config.txt file on the BT server! ;-) Mark
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
09/17/11 11:23 PM (14 years ago)
@GoNorthWest, I will sign your petition for editing the Config.txt if you sign mine for being able to let user choose to download streaming video files to save for offline use. :)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/17/11 11:24 PM (14 years ago)
@ianjamespiano : Consider it signed!
 

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.