Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316822 - menu icon size should use system icon size
Summary: menu icon size should use system icon size
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 16:07 EDT by Archimedes Trajano CLA
Modified: 2010-06-28 14:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Archimedes Trajano CLA 2010-06-14 16:07:13 EDT
Build Identifier: 

The menu icon uses the icon image size rather than the system icon size.

Reproducible: Always

Steps to Reproduce:
If you define a PNG file as the icon in org.eclipse.ui.menus, on the mac it uses the icon as is rather than scaling it down to the system icon size which should be determined on the fly rather than hard coding it.
Comment 1 Scott Kovatch CLA 2010-06-15 00:51:17 EDT
Carbon or Cocoa? And could you please fill in the build identifier? Thanks!
Comment 2 Archimedes Trajano CLA 2010-06-15 11:51:58 EDT
build M20100211-1343
Cocoa
Comment 3 Archimedes Trajano CLA 2010-06-15 11:52:44 EDT
64-bit
Comment 4 Scott Kovatch CLA 2010-06-28 14:53:59 EDT
There really isn't a 'system icon size' for menu items in Cocoa. [NSMenuItem setImage:] will use whatever icon you specify, and will adjust the size of the item to match. If you want a smaller image you have to provide a smaller image.