Hi,
When a FormItem is disabled, you can still enable its FormItemIcon by setting setNeverDisable. But then it does not change to hover style.
* FireFox 17 dev mode
* SmartClient Version: v8.3p_2013-04-08/Pro Deployment (built 2013-04-08)
Repro:
* When the mouse hovers over the icon on item1, the icon goes to hover style. OK
* When the mouse hovers over the icon on item2, the icon doesn't change. NOK
* In both cases the mouse pointer changes. OK
TIA,
When a FormItem is disabled, you can still enable its FormItemIcon by setting setNeverDisable. But then it does not change to hover style.
* FireFox 17 dev mode
* SmartClient Version: v8.3p_2013-04-08/Pro Deployment (built 2013-04-08)
Repro:
Code:
DynamicForm form = new DynamicForm();
String ICON_SKIN_ACTION_ADD = "[SKINIMG]/ImgButton/button.png";
FormItemIcon icon = new FormItemIcon();
icon.setSrc(ICON_SKIN_ACTION_ADD);
icon.setNeverDisable(true);
icon.setShowOver(true);
FormItem item = new FormItem("item1");
item.setIcons(icon);
FormItem item2 = new FormItem("item2");
item2.setIcons(icon);
item2.setDisabled(true);
form.setFields(item, item2);
* When the mouse hovers over the icon on item2, the icon doesn't change. NOK
* In both cases the mouse pointer changes. OK
TIA,
Comment