Hello,
While tesing SNAPSHOT_v9.0d_2013-03-08/Pro Deployment 2013-03-08 we noticed a change to how the title section of the ribbon group is rendered. It no longer covers the full width of the widget.
Do we need to alter a setting?
Here's a small repro:
thanks
While tesing SNAPSHOT_v9.0d_2013-03-08/Pro Deployment 2013-03-08 we noticed a change to how the title section of the ribbon group is rendered. It no longer covers the full width of the widget.
Do we need to alter a setting?
Here's a small repro:
Code:
public Canvas getViewPanel() {
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("A very long title");
button.setAlign(Alignment.CENTER);
button.setDisabled(false);
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;
}
Comment