Hybrid View
-
21 Apr 2009 4:29 AM #1
[CLOSED] [GWT 2.0m1] Button.setIconStyle has no effect
[CLOSED] [GWT 2.0m1] Button.setIconStyle has no effect
It seems that there is a bug corresponding to the button iconStyle in gxt2.0
Example:
css :
code :Code:.toDashBoard {width: 16px; height: 16px; background-image: url(icons/toDashBoard16.png)}
The icon is shown on the menuItem but not on the button.Code:Button exportToDashBoardTool = new Button(); exportToDashBoardTool.setIconStyle("toDashBoard"); exportToDashBoardTool.setMenu(menu); MenuItem menuItem = new MenuItem("New"); menuItem.setIconStyle("toDashBoard"); menu.add(menuItem);
Thanks for your attention
-
21 Apr 2009 4:36 AM #2
Please take a look at the examles how to set an icon style. CLOSED
-
21 Apr 2009 5:12 AM #3
Yes,
I forgotin the cssCode:!important
Thanks
Sorry for the inconvenience.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote