wanjidong / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

ImageItemImpl doesn't output styleClass #264

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using a custom toolbar and would like for the styleClass to be output
when set on on a ToolbarItem.  Here is an example of the code that I am using:

ToolbarItem saveButton =
toolbar.addToolbarItem(ToolbarItemType.SAVE_WORKSHEET_ITEM);           
saveButton.setStyleClass("immediate");

Original issue reported on code.google.com by bgo...@e1b.org on 2 Jun 2010 at 5:59

GoogleCodeExporter commented 8 years ago
Yep, that was a bug. The ImageItemImpl class was not honoring the styleClass. I 
put
the change on the trunk. Do you need a build sent or can you just grab from the 
trunk?

The style attribute works if you want to use that for a work-around.

I also did not go through the various toolbar items right now. I will go 
through the
other toolbar items later on to see what else needs to be changed.

Original comment by jeff.johnston.mn@gmail.com on 3 Jun 2010 at 2:44

GoogleCodeExporter commented 8 years ago
Fixed.

Original comment by jeff.johnston.mn@gmail.com on 9 Mar 2011 at 7:39