Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 40

farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
05/30/13 02:34 AM (12 years ago)

Case of wobbly buttons, buttons sometimes not locked vertically

Hi gang, On this new IOS app (self-hosted) I am using a button menu as the home screen. The app is locked horizontally, the buttons are large squares taking up the height of the screen (one row) and you can scroll right to see more buttons. The issue I have is that if you tap a button (leading to HTML screen) and then go back to the home screen (via the tab menu), the row of buttons is now not locked vertically. You can scroll, left, right but also drag the buttons up and down, hence the unsightly "wobbly" effect. The button menu screen is set up as follow: Button Layout Style: Horizontal Top Label Layout Style: Below buttons Allow scrolling The menu looks and behave as it should before you open a tab, and it goes haywire after that. Is this a known issue? Does anybody know of a solution? Thanks for the help and any advice. Farcat
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
05/30/13 01:41 PM (12 years ago)
Here are some screenshots to illustrate my issue. The first one is on launch, menu goes left and right, no problem: https://www.dropbox.com/s/7y41qlyy25wjiup/button%20menu1.png This one is after tapping on a button and coming back: https://www.dropbox.com/s/stzfnhtgf8hb5kd/button%20menu2.png Any thoughts? Farcat
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
07/15/13 01:17 AM (12 years ago)
Sorted, courtesy of @PSMDanny: "In bt_screen_menuButtons on line 441 you find this: self.myScrollView.frame = CGRectMake(0, 0, deviceWidth, (boxHeight + labelHeight)); This seems to cause the trouble. If you change this to: self.myScrollView.frame = CGRectMake(0, 0, deviceWidth, deviceHeight);"
 

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.