|
|
|
Re: Icons in menue [message #10792 is a reply to message #10790] |
Wed, 21 March 2007 18:28 |
Rüdiger Herrmann Messages: 335 Registered: July 2009 |
Senior Member |
|
|
ah, I got it. Images for Actions are currently only displayed for
ToolItems. In general the code around action-images is *very* basic.
I changed it (see CVS HEAD) to set the image for every widget that
inherits from Item, so the menus now show images as well.
Cheers,
Rüdiger
Markus Krüger wrote:
> Hi Rüdiger,
>
> maybe I need to add some information. In the method fillMenu of Your
> DemoActionBarAdvisor you add an ExtiAction with an image to the file menu.
> But within the file menu there is
> just the text of the ExitAction, not its image.
>
> Best regards,
>
> Markus
>
> "Ruediger Herrmmann" <ruediger.herrmann@gmx.de> schrieb im Newsbeitrag
> news:etrpf4$g7k$1@utils.eclipse.org...
>> Hi Markus,
>>
>> have a look at the class ShellTab in the demo plug-in. I just committed
>> code that sets an image on the 'new' menu item. Search for 'newItem' to
>> find the place.
>>
>> Cheers,
>> Rüdiger
>>
>> Markus Krüger wrote:
>>> Hello,
>>>
>>> how can I enable icons in the menues?
>>>
>>> Best regards,
>>>
>>> Markus
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04109 seconds