FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
01/18/14 04:51 AM (11 years ago)

bottom of buttons in menu buttons

hi guys the bottom of my buttons are being cut off on the screen, im using iphone 4, ive tried changing the self/myscrollview/setframe values in xcode, but its not making any difference. cheers Sean
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/18/14 05:50 AM (11 years ago)
Just curious. If you're using the menu buttons plugin, check in your control panel settings for the screen. Under 'button layout/color' there is an option to 'prevent scrolling'. Make sure you're 'not' preventing it. Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/18/14 05:57 AM (11 years ago)
checked that thanks smug, you can scroll the buttons left and right to see them, but thers like a tab covering the bottom of the buttons
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/18/14 06:04 AM (11 years ago)
its defo the scroll box, but why is it set so high on an phone 4
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/18/14 06:15 AM (11 years ago)
If it's iOS 7, I have issues getting things aligned on it, but usually only when using a xib file; I've found a few settings that have to be tweaked… But in a 'code constructed' object, I've not had much issue… if the code is saying something along the lines of 'screenHeight' as opposed to a number, then you should be good. But I'm working on Android and don't have an iOS project with button menus in it around. Does it do the same thing in the simulator? under iOS 6? iPhone 5 simulator? Any patterns? Just curious. Odd issue. Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/18/14 06:41 AM (11 years ago)
heres what its doing smug, this is taken on ios 7 its like theres a line, the buttons scroll up and down, and left and right, but it cuts of after that line, also tried it in ios 6 and 5 still dus the same thing https://www.dropbox.com/s/yf2oihpkbah8ppt/Screenshot%202014.01.18%2013.33.46.png
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/18/14 06:45 AM (11 years ago)
heres what its doing smug, this is taken on ios 7 its like theres a line, the buttons scroll up and down, and left and right, but it cuts of after that line, also tried it in ios 6 and 5 still dus the same thing https://www.dropbox.com/s/yf2oihpkbah8ppt/Screenshot%202014.01.18%2013.33.46.png
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/18/14 06:58 AM (11 years ago)
heres what its doing smug, this is taken on ios 7 its like theres a line, the buttons scroll up and down, and left and right, but it cuts of after that line, also tried it in ios 6 and 5 still dus the same thing https://www.dropbox.com/s/yf2oihpkbah8ppt/Screenshot%202014.01.18%2013.33.46.png
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/18/14 07:04 AM (11 years ago)
It looks as if it's making room for a Tab Bar that isn't there. In the 'layoutScreen' method of BT_screen_menuButtons.m file, there is a line similar to: if([appDelegate.rootApp.tabs count] > 0){ deviceHeight = (deviceHeight - 50); } Comment out the deviceHeight line like this: if([appDelegate.rootApp.tabs count] > 0){ // deviceHeight = (deviceHeight - 50); } And see if it still occurs. If so, it's something else. But if not, then somewhere it 'thinks' there is a tab bar. Find out, and we'll go from there. Cheers! -- Smug Edit: after you make a post, 'leave' the page before refreshing, otherwise you'll double (or triple) post :)
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/18/14 07:45 AM (11 years ago)
lol will do smug, just noticed the repeat posts, shame you cant delete stuff innit, just going for some tea, will try that out when i get back. cheers dude sean
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/18/14 07:43 PM (11 years ago)
Did you solve it?
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/19/14 02:50 AM (11 years ago)
no didnt work smug, the above code is at line 333, the wierd thing is i have a screen privious to the above button screen on the same app, same kind of button screen, but with 12 buttons, and they all work and layout is fine, ??? cheers sean
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/19/14 04:17 AM (11 years ago)
How many buttons on this? Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/19/14 04:22 AM (11 years ago)
yeah fixed it thanks guys,rookie mistake, didn't realize there was 2 ways of looking at your plugin screen, ie you have a screen with list of buttons, where the buttons lead to button screen where i was having the problem above, ie when you press one of these buttons it then leads to the screen above, on the first screen, where it sais this button leads 2, you press the leads to selection and another screen appears, which was where the tab selection option was, i was looking at the main selection screen for the screen, which didn't have a tab selection, just all the layout stuff, im sure you guys can explain what i mean properly lol thanks smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
01/19/14 05:13 AM (11 years ago)
something weird is happening now guys,when i open the button selection screen, ie list of buttons that lead to button screens, when i press the leads to screen and change the settings to don't show tab at bottom, save refresh, it stays the same, but when i go to the screen and change layout and size of buttons on that screen, save, refresh, fine, but it then resets the previous tab screen, when i go back and change the tab screen, it resets the layout and size of button screen,
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
02/13/14 12:57 PM (11 years ago)
found out what the glitch was with the above guys, you only had the above problems, if you changed the top navigation bar option bar style within the above button screen, if you left it alone, the bottom of the screen wouldn't disappear, i found a workaround with changing the code on each screen, then stumbled lol upon the glitch or maybe its just something im experiencing with my layout, all i know is when i stopped changing the tab bar, it stopped messing up my buttons cheers Sean
 

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.