views:

31

answers:

1

The BB OS 5.0 supports images for context menus. The API documentation says the image will be scaled to fit a square set by the height of the menu font. I find that totally unhelpful.

The only way I can explain that method of calculation is due to screen resolution and DPI. But since the 5.0 OS is only valid on a handful of devices with similar screen sizes, I reckon they can specify the actual icon size they use.

I'd like to choose an icon size that's closest to the default menu font height so that the they look OK.

What size do you use? Do you even use this feature?

A: 

I haven't used it yet, but I would recommend using any square ratio maybe up to 64x64; the problem is that with new devices on the horizon (eg rumored tablet - with much bigger display) it won't necessarily be practical to target a specific screen size.

Marc Paradise
Marc,I realize that we don't want to target a specific screen size. What's probably more important is DPI. For regular images in apps, I usually have two copies: one at 16x16 for anything 320x240 or lower, and one at 32x32 for everything else. It usually works out to BB Bold or newer.But I suspect the menu images are a different size (and I'm too lazy to do the experimentation myself, hence the question on SO :))
ageektrapped