Alin Vulparu
Alin Vulparu

Reputation: 23

Eclipse RCP4: Display HandledToolItem with both image and label

I'm working on an Eclipse RCP 4 application and trying to add a HandledToolItem that displays both a label and an image to its left. Problem is whenever i add the image it only displays the image and hides the label. Is there any other way of getting this implemented other than creating a new ToolControl with a Button or a custom Toolbar that can handle this?

It would be nice to have the HandledToolItem because of the simpler management through Commands and Handlers.

Upvotes: 1

Views: 157

Answers (1)

greg-449
greg-449

Reputation: 111142

Add FORCE_TEXT to the Tags (on the Supplementary tab) for the HandledToolItem in the e4xmi file.

Upvotes: 1

Related Questions