Discussion Forums  >  Self Hosted Control Panels

Replies: 1    Views: 47

TraceCampbellBSNRN
buzztouch Evangelist
Profile
Posts: 233
Reg: Dec 16, 2011
Forney
3,680
09/08/12 10:37 PM (13 years ago)

cant see bottom of screen

i used the button menu with about 15 buttons. the app has gone up for sale but for some reason I cant see the bottom menu buttons because of the tab bar at the bottom. to see the buttons you have to drag them up and hold them there but you cant keep them in view because they bounce back down again not allowing you time to click on them. Any ideas on fixing that?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/08/12 10:46 PM (13 years ago)
On your button screen....is it "grid" "vertical left" "vertical right" etc? --What layout option is the button screen "grid" "vertical left" "vertical right" etc? --What is the square size of your buttons (roughly), 60 pixels or so? These two things will determine what to change slightly. Example...if you're using buttons that are about 60 pixels, and you're using the "grid" layout, you'll want to add some height to the contentHeight of the scroller. You would do this in the BT_screen_menuButtons.m file... have a look at line 403 of that file, you'll see... contentWidth = deviceWidth; contentHeight = ((boxHeight + labelHeight) * (numButtons + 10)) / buttonsPerRow - (deviceHeight * 1.5); Under that, you could add some "height" to the contentHeight variable like... contentHeight += 100; That would add about 100 pixels so it would then scroll "up" higher. The amount of height to add and where you add it will depend on the questions above. For sure this will be an easy thing, just a matter of figuring out where the code is "calculating" the height for your layout and adding a bit to it.
 

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.