Hi,
When disabling a whole RibbonGroup,
the controls are set disabled (OK),
but only the style is changed (OK),
not the icon (NOK).
When you disable a control itself, the icon is called to show the _disabled one (OK).
Repro showing this difference:
	
build: SNAPSHOT_v8.3d_2012-07-03/Pro Deployment (built 2012-07-03)
TIA
					When disabling a whole RibbonGroup,
the controls are set disabled (OK),
but only the style is changed (OK),
not the icon (NOK).
When you disable a control itself, the icon is called to show the _disabled one (OK).
Repro showing this difference:
Code:
	
	String ICON_SKIN_ACTION_ADD = "[SKINIMG]/actions/add.png";
RibbonBar bar = new RibbonBar();
RibbonGroup group = new RibbonGroup();
group.setNumRows(1);
group.setTitle("Group Disabled");
group.setRowHeight(76);
group.setDisabled(true);
IconButton button = new IconButton("Add");
button.setIcon(ICON_SKIN_ACTION_ADD);
button.setLargeIcon(ICON_SKIN_ACTION_ADD);
button.setOrientation("vertical");
group.addControl(button);
IconButton button2 = new IconButton("Add");
button2.setIcon(ICON_SKIN_ACTION_ADD);
group.addControl(button2);
RibbonGroup group2 = new RibbonGroup();
group2.setNumRows(1);
group2.setTitle("Buttons Disabled");
group2.setRowHeight(76);
IconButton button3 = new IconButton("Add");
button3.setIcon(ICON_SKIN_ACTION_ADD);
button3.setLargeIcon(ICON_SKIN_ACTION_ADD);
button3.setOrientation("vertical");
button3.setDisabled(true);
group2.addControl(button3);
IconButton button4 = new IconButton("Add");
button4.setIcon(ICON_SKIN_ACTION_ADD);
button4.setDisabled(true);
group2.addControl(button4);
bar.addMember(group);
bar.addMember(group2);
final VLayout v = new VLayout();
v.setOverflow(Overflow.VISIBLE);
v.addMember(bar);
return v;
build: SNAPSHOT_v8.3d_2012-07-03/Pro Deployment (built 2012-07-03)
TIA

Comment