Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 62

AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
12/09/13 06:40 AM (11 years ago)

2nd line on 3.0 menus - 1st letter is cut off

I'm just starting out on BT 3.0 and I have noticed that the 1st character, 2nd line of menu text (description) is too far to the left (compared to the the first line) and is being chopped off. However, the same code looks OK on IOS 6. I remember a while ago this was spotted - I see it has been fixed for the title, but I suspect something similar is needed for the description. This affects circleview and advanced menu with image. Any quick fixes please?
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
12/09/13 11:11 AM (11 years ago)
Did you figure this one out? I'm having the same issue. I've posted a new discussion regarding if you want to keep tabs on that one also.. https://www.buzztouch.com/forum/thread.php?fid=80726A005A0F546026391D8&tid=80726A005A0F546026391D8
 
Chris from Staffor...
Aspiring developer
Profile
Posts: 335
Reg: Oct 14, 2013
Stafford
5,750
like
12/09/13 12:27 PM (11 years ago)
I know the solution for menu with image plug-in Probably a similar solution for the other menu. In Xcode look at this file in the menu with image folder: WB_cell_menuList.m Find this line: [descriptionLabel setContentInset:UIEdgeInsetsMake(-8,-8,0,0)]; I changed the values to this and it worked for me: [descriptionLabel setContentInset:UIEdgeInsetsMake(-4,-4,0,0)];
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
12/09/13 01:47 PM (11 years ago)
Thanks Chris, Sounds similar to something we tried when ios7 came out. http://www.buzztouch.com/forum/thread.php?tid=4E8D5EA46468AA2254D8787&fid=BC70C36A743CD4FAD95D17F&sortColumn=FT.id&sortUpDown=&currentPage=2 I will give it a go, but just one question though. Last time, my experience was that if it was fixed it for ios7, it affected ios6. Does this fix work for both? Alan
 
Chris from Staffor...
Aspiring developer
Profile
Posts: 335
Reg: Oct 14, 2013
Stafford
5,750
like
12/10/13 02:27 AM (11 years ago)
I think it's worked as I have an iPad with iOS 5 on and it looks ok on there. Not sure on iOS 6 though
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
12/10/13 09:13 AM (11 years ago)
Hi Chris, thanks for the tip. I found that by making the change, it fixed ios 7 but negatively affected the indentation of the description line on ios 6, but it is definitely the place to make the edit. In the end, I have gone with [descriptionLabel setContentInset:UIEdgeInsetsMake(-4,-6,0,0)]; which is a bit of a compromise for both ios flavours. This affects Circleview menu and both menus with image, so I am hoping it will be picked up by the plugin authors and a more precise fix found.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
12/10/13 09:55 AM (11 years ago)
 

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.