Discussion Forums  >  Images, Documents, File Locations

Replies: 4    Views: 95

tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
11/01/12 05:50 AM (13 years ago)

One item on a simple list menu

So I have one item in my list menu, and I only intend to have one. Here, I am using the rounded corners with margins effect. So I have one issue is that with just one menu item, the bottom corners of that one menu item is not rounded. Instead, it is a straight corner. However, the top corners are fine. Only the bottom corner. I know that the rounded corners are alright with two menu items, but I only plan to have on. It's a small detail, and I don't mind that much about it, but if there is a solution, I would like to know how to do it. It just looks slightly wrong. Here is a screenshot of it: https://www.dropbox.com/s/ehw0wjsaxyz6gkc/Photo%2001-11-2012%2012%2045%2005.png You can see here that the 'Map' button is not rounded at the bottom. Small detail, but it does bug me out since I'm a perfectionist!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/01/12 07:59 AM (13 years ago)
If the menu list doesn't move. What I did was make everything clear list outline etc even the text I hated the fact it was aligned to the left. Then make a background image with the button printed on it with the text image you want. It looked alright
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/01/12 08:17 AM (13 years ago)
I do see what you mean. It's quite a clever idea. I will try that when I'm in front of my Mac tomorrow. I can only edit now, not add new content.
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
11/01/12 08:47 AM (13 years ago)
@Annandale Apps If you go to BT_Core folder and the select BT_cell_backgroundView.m And change this. if (position == CustomCellBackgroundViewPositionTop) { CGContextFillRect(c, CGRectMake(0.0f, rect.size.height - 0.0f, rect.size.width, 0.0f)); CGContextBeginPath(c); CGContextMoveToPoint(c, 0.0f, rect.size.height - 0.0f); CGContextAddLineToPoint(c, 0.0f, rect.size.height); CGContextAddLineToPoint(c, rect.size.width, rect.size.height); CGContextAddLineToPoint(c, rect.size.width, rect.size.height - 0.0f); CGContextStrokePath(c); CGContextClipToRect(c, CGRectMake(0.0f, 0.0f, rect.size.width, rect.size.height - 0.0f)); it not perfect but it work ok.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
11/01/12 09:30 AM (13 years ago)
@Mack awesome share, should be very useful to some! David https://buzztouchmods.com
 

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.