Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 79

Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
12/04/13 04:20 PM (11 years ago)

Carousel Menu Plugin

Love the Carousel Menu Plugin! Quick question on it's usage though. When using landscape mode, the title label gets cut off. I know we can move it around using the XIB, but when I did that, it looked fine in portrait, but wan't centered when going to landscape. I'd just turn landscape orientation off in my app, but to my understanding we can't do that for ipad users. Any code snippet or anything that can be used to center the label horizontally, and/or change the x/y coordinates of the label if landscape is detected? Also, just curious about the angle option in the control panel. It says it controls the Y axis start of the menu, which is does, but in the example you have next to it it says to try Y axis -275 and X axis -395 for a nice effect (don't quote me on the numbers, I forget what they actually are). but where do we enter the X axis of -395? I tried using a comma, like "-275, -395", but that didn't do it. Thanks!
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
12/04/13 05:45 PM (11 years ago)
Angry Ninja - As far as the angle option, you input the X axis info in the last box titled "Control the angle of view".
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/04/13 05:48 PM (11 years ago)
Ah, gotcha... I read the description wrong. I understand that now. Anyone have any ideas on the landscape questions above?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
12/04/13 05:55 PM (11 years ago)
I've just gone to bed, if you go to interface builder go to the label select layout options pin it to the bottom I think it is pinned to the top this will keep it however many pixels away from the bottom
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/04/13 05:57 PM (11 years ago)
Thanks Kittsy. I'll play with it and see. I've actually never "pinned" anything in Xcode, always moved it manually, lol, thats how amateur I can when it comes to coding ;) I'll see if I can figure out how to do it.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
12/05/13 11:21 AM (11 years ago)
Can't seem to find out how to change vertical spacing in Xcode. Plenty of tutorials online if it's in storyboard mode, but we're just using the .xib here, and the closest I can find is under the view when the label is selected, under the square that says "autosizing", there is a spot for iOS6/7 Delta X & Y coordinates... however when I change them it doesn't change in the simulator. Sorry, not very good with Xcode (hence the reason I love BuzzTouch, lol) EDIT: I found the pin menu, but only by enabling auto layout. Even after changing to deployment target of 6.0 or 7.0, I end up with 56 dependency warnings, and when it compiles, I get SIGABRT crash when it loads, so auto layout isn't going to work. Any other way to pin the label to the bottom without auto layout?
 

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.