Discussion Forums  >  Uncategorized

Replies: 3    Views: 342

volley
Aspiring developer
Profile
Posts: 37
Reg: Feb 19, 2011
Amsterdam
10,570
08/30/11 07:47 AM (14 years ago)

button menu scrolling issue

Hi, Did anyone encounter the following problem: I have a menu-buttons screen with 22 buttons arranged in a grid, with button size 93 and button margin 10. All buttons have a background image and drop shadow. I have allowed scrolling but I am not able to reach (click) the bottom row of the buttons. I almost reach the bottom but then the screen bounces back a bit. I thought it was the simulator but on the device I have the same behaviour. As a work around I added two rows (5 extra buttons) which allows me to click the last row of real buttons. Anyone have a clue what might be going on here? Would appreciate your input!
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
08/30/11 08:06 PM (14 years ago)
 
volley
Aspiring developer
Profile
Posts: 37
Reg: Feb 19, 2011
Amsterdam
10,570
like
08/31/11 12:43 AM (14 years ago)
Thanks Parker, This is very useful information I did not read yet. I was exploring the code already and in my case I did the following change on line 404 in BT_screen_menuButtons.m: contentHeight = ((boxHeight + labelHeight) * (numButtons + 10)) / buttonsPerRow - (deviceHeight * 0.86); //changed: 1.5 to 0.86 Sofar it works for me. Hope I'm not breaking other things.
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
08/31/11 05:03 PM (14 years ago)
Yeah I hope that code modification works for you. Be sure to thoroughly test your app in the simulator and on an actual device before releasing it. Congrats on being brave enough to tinker with the code as well. It's a scary thing for a lot of people.
 

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.