Bug - Tab does not draw a icon with "canClose"

Hi,

next problem… I have a TabSet and when I want add a Tab which has icon set and also setCanClose on true, the icon does not show, why?

This is a know limitation with a simple workaround. Specify the icon as part of the Tab title.

tab.setTitle("<span>" + Canvas.imgHTML("/path/to/my/icon.png") + " Tab Title</span>");
tab.setCanClose(true);

Sanjiv

Thank you!! I did not realize that I am in HTML…