With this code:
The image added to the RibbonGroup is placed at the bottom of the RibbonGroup with a large margin above the image.
How do I get it to be placed at the top of the RibbonGroup?
Code:
[B]public[/B] [B]class[/B] TestLayout [B]extends[/B] VStack {
[B]public[/B] TestLayout() {
RibbonBar ribbonBar = [B]new[/B] RibbonBar();
addMember(ribbonBar);
RibbonGroup ribbonGroup = [B]new[/B] RibbonGroup();
ribbonGroup.setTitle("Add");
ribbonBar.addMember(ribbonGroup);
Img addImg = [B]new[/B] Img("ConversationGuide/Edit/add.png", 18, 18);
ribbonGroup.addMember(addImg);
}
}
How do I get it to be placed at the top of the RibbonGroup?
Comment