Icon in the customTask shape [message #1784623] |
Fri, 30 March 2018 12:06  |
Eclipse User |
|
|
|
Hi,
I based my customTask in the dynamic example, but I don't want any icon in the shape. The I removed this code :
// add an image to the top-left corner of the rectangle
Image img = SampleImageProvider.createImage(roundedRect, customTaskDescriptor, 38, 38);
Graphiti.getGaService().setLocation(img, 2, 2);
But I still got an icon in my customTask.
How can I remove it ?
Thanks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Icon in the customTask shape [message #1784892 is a reply to message #1784849] |
Thu, 05 April 2018 05:59  |
Eclipse User |
|
|
|
Some news :
I can now add my image. I know it because when I drag my extension from the palette, orange dots which permits to resize the image are visible. But the rectangle shape is not visible anymore.
If I click on the feature, I select the blank icon.
Then, I think the rectangle (and maybe the previous icon ?) is "covered" by the blank icon.
|
|
|
Powered by
FUDForum. Page generated in 0.05583 seconds