Discussion Forums  >  Uncategorized

Replies: 3    Views: 200

Captain597
Aspiring developer
Profile
Posts: 32
Reg: Jan 17, 2012
Cincinnati
620
01/24/12 10:25 PM (14 years ago)

Scrolling Issue

I'm building my app, and I have numerous icon buttons on a page. When I try and scroll down to the ones at the bottom of the screen (in simulator), it springs back up, so I am unable to click on the buttons I have created. Anyway to rectify this ?
 
volley
Aspiring developer
Profile
Posts: 37
Reg: Feb 19, 2011
Amsterdam
10,570
like
01/25/12 04:38 AM (14 years ago)
In BT_screen_menuButtons.m go to line 404 and change the value 1.5 into 0.86. That worked for me me. Maybe you should experiment a bit with this value. //grid if([buttonLayoutStyle isEqualToString:@grid] || [buttonLayoutStyle isEqualToString:@]){ contentWidth = deviceWidth; contentHeight = ((boxHeight + labelHeight) * (numButtons + 10)) / buttonsPerRow - (deviceHeight * 0.86); // changed: 0.86 was 1.5! if(contentHeight < deviceHeight) contentHeight = (deviceHeight + 50); self.myScrollView.frame = CGRectMake(0, 0, deviceWidth, deviceHeight); self.myScrollView.contentSize = CGSizeMake(contentWidth, contentHeight); } There is a topic on this different with other solutions.
 
volley
Aspiring developer
Profile
Posts: 37
Reg: Feb 19, 2011
Amsterdam
10,570
like
01/25/12 04:54 AM (14 years ago)
 
Captain597
Aspiring developer
Profile
Posts: 32
Reg: Jan 17, 2012
Cincinnati
620
like
01/25/12 02:30 PM (14 years ago)
thanks ..... messed around with the values, and ended up using .25 That worked !!
 

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.