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?
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…