Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse 4 menu icon size
Eclipse 4 menu icon size [message #1007673] Thu, 07 February 2013 00:44 Go to next message
Li Chen is currently offline Li Chen
Messages: 20
Registered: July 2011
Location: Sydney
Junior Member
Eclipse 3.x used to have a menu icon size limit of 16 pixel. Does this change in eclipse 4?
I tried to set a 64 icon in HandledToolItem for TrimBars and still shrink to 16 pixel.
Re: Eclipse 4 menu icon size [message #1007691 is a reply to message #1007673] Thu, 07 February 2013 07:33 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1339
Registered: July 2012
Senior Member
Well I think this is related to the CSS styling. If you need to have a greater icon for toolitems, you need to change that in CSS.

As I never worked on that before, I can't give you any more details unfortunately.
Re: Eclipse 4 menu icon size [message #1007739 is a reply to message #1007673] Thu, 07 February 2013 11:14 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5422
Registered: July 2009
Senior Member
In my RCP application I was and have ever been able to set bigger icons,
no matter if it is 3.x or 4.x. So I'm not sure what is happening. Could
it be that the size is calculated based on the first one set - similar
to how SWT-Table?

Tom

Am 07.02.13 01:44, schrieb Missing name Mising name:
> Eclipse 3.x used to have a menu icon size limit of 16 pixel. Does this
> change in eclipse 4? I tried to set a 64 icon in HandledToolItem for
> TrimBars and still shrink to 16 pixel.
icon10.gif  Re: Eclipse 4 menu icon size [message #1008148 is a reply to message #1007673] Mon, 11 February 2013 03:50 Go to previous messageGo to next message
Li Chen is currently offline Li Chen
Messages: 20
Registered: July 2011
Location: Sydney
Junior Member
Thanks for the replies, I did a complete refresh of the workspace and the new icon appeared as their original size Smile
For me there is not setting required, all I did was to point the Icon URI to the correct path in Handled Tool Items.
Re: Eclipse 4 menu icon size [message #1008150 is a reply to message #1007673] Mon, 11 February 2013 04:10 Go to previous message
Li Chen is currently offline Li Chen
Messages: 20
Registered: July 2011
Location: Sydney
Junior Member
No Message Body

[Updated on: Mon, 11 February 2013 04:11]

Report message to a moderator

Previous Topic:Handled tool item - visible when
Next Topic:Command parameters in context menu
Goto Forum:
  


Current Time: Sat Oct 25 20:41:14 GMT 2014

Powered by FUDForum. Page generated in 0.01995 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software