» Site Navigation |
|
|
» Advertisements |

Visit our friends over at The App Show! Steve and Dave produce a weekly show shining a light on the iPhone 2.0 software and the applications being developed by the amazing development community for the iPhone SDK!
|
» Online Users: 95 |
| 14 members and 81 guests |
| Alex.be, demowolf, Derek, detz, EPage_Ed, FetaBoy, futurejones, jclardy, keyboardcowboy, rbmac, SkylarEC, smith288, TheGame, Witch_King |
| Most users ever online was 207, 10-24-2008 at 09:29 AM. |
» Stats |
Members: 3,917
Threads: 5,629
Posts: 23,291
Top Poster: scottiphone (705)
|
| Welcome to our newest member, mef |
|
 |
08-27-2008, 08:50 PM
|
#1 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 39
|
Tab Bar icons
Just a quick question on the tab bar control.
What size are the icons. I want to use my own text and icon but can't find the icon size in the documentation.
Anybody know?
Thanks
__________________
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside." (It would also clearly have been developed by Microsoft)
|
|
|
08-27-2008, 10:22 PM
|
#2 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Posts: 146
|
I just used the screenshot capture and dragged around one of the stock images to guesstimate a good size...I came up with 30x30px, and that actually fit very well.
You could probably go wider depending on your situation, but I think you would only have room to go maybe 5-10px taller.
Also, I used a light gray to dark gray gradient to simulate the stock images. The application automatically applies the blue glow when you click.
|
|
|
08-27-2008, 11:23 PM
|
#3 (permalink)
|
|
Some guy
Join Date: Jul 2008
Location: Canada
Posts: 108
|
Yep, I find that anywhere from 25-30px height and width seems to fit quite well. Just eye it, there is no real requirement for their sizes.
|
|
|
08-28-2008, 06:50 AM
|
#4 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 39
|
Thanks. I thought about 30 px was right. But when I save the image and add it to my project and set it as the tab bar icon all I get is a blue gradient square. I have tried saving as png, tiff and jpeg but I still get this blue square instead of my image. Any ideas?
__________________
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside." (It would also clearly have been developed by Microsoft)
|
|
|
08-28-2008, 06:53 AM
|
#5 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 39
|
I've attatched a picture of it to this
__________________
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside." (It would also clearly have been developed by Microsoft)
|
|
|
08-28-2008, 06:55 AM
|
#6 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 39
|
I've attatched a picture of it to this

__________________
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside." (It would also clearly have been developed by Microsoft)
|
|
|
08-28-2008, 06:56 AM
|
#7 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Posts: 193
|
The tab bar image is 30x30 - mentions it somewhere in the documentation.
You'll also have to supply a grey scale image. The iPhone will automatically fill it with a blue gradient IF it is the selected tab.
At present I do not believe you can change this colour - not with standard methods anyway.
You'll have to include a transparent background if you want it to be transparent.
|
|
|
08-28-2008, 06:59 AM
|
#8 (permalink)
|
|
Senior Member
Join Date: Aug 2008
Posts: 193
|
You can see examples of tab bar icons in "The Elements" sample code.
|
|
|
08-28-2008, 07:03 AM
|
#9 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 39
|
Thanks stitch, it was because my image wasn't graysale.
__________________
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside." (It would also clearly have been developed by Microsoft)
|
|
|
10-03-2008, 05:36 AM
|
#10 (permalink)
|
|
Junior Member
Join Date: Oct 2008
Posts: 1
|
Quote:
Originally Posted by Stitch
You can see examples of tab bar icons in "The Elements" sample code.
|
Thanks a lot Stitch!
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|