This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ideal Icon Size  RSS feed

 
Drew Lane
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there an ideal icon size for Midlets?
Something that will work cross platform?
I have seen some icons that are 12x12 pixels
while others are much larger.
Does the spec say anything about this?
Thanks,
Drew
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well the specs don't say anything because it can't. This is because each device has different size screens and there is no standard for them. Therefore if you make it too big then it won't fit on all devices. If you icon is on your canvas you can always find out the devices size and have multiple icons of different sizes and make the decision at runtime which one to use based on the device. Also an Image on a canvas can shrink or grow the icon to fit its width and height. Although that might distort the image.
Hope that helps
Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!