Smartgwt.mobile version: smartgwt-mobile-1.0d_2013-06-25
Firefox version: 22.0
When using a TabSet with 3 tabs, inside a ScrollablePanel only the tab on which is called tabSet.selectTab(tab) is visible. The others are now showing. This problem is reproduced only in development. If I build my application and deploy it on android phone all is looking good. Below is the code to reproduce the problem:
Firefox version: 22.0
When using a TabSet with 3 tabs, inside a ScrollablePanel only the tab on which is called tabSet.selectTab(tab) is visible. The others are now showing. This problem is reproduced only in development. If I build my application and deploy it on android phone all is looking good. Below is the code to reproduce the problem:
Code:
public class AssignmentDetailsPanel extends ScrollablePanel {
private Tab detailsTab, documentsTab, notesTab;
private TabSet tabSet;
public AssignmentDetailsPanel(String title, NavStack nav,
Record selectedRecord) {
super(title);
detailsTab = new Tab("Details", IconResources.INSTANCE.info());
detailsTab.setIconPrerendered(true);
detailsTab.setPane(new AssignmentContentPanel(selectedRecord));
notesTab = new Tab("Notes", IconResources.INSTANCE.compose());
notesTab.setIconPrerendered(true);
notesTab.setPane(new AssignmentNotesPanel(selectedRecord));
documentsTab = new Tab("Documents", IconResources.INSTANCE.files());
documentsTab.setIconPrerendered(true);
documentsTab.setPane(new AssignmentDocumentsPanel(selectedRecord));
tabSet = new TabSet();
tabSet.addTab(detailsTab);
tabSet.addTab(notesTab);
tabSet.addTab(documentsTab);
tabSet.selectTab(notesTab);
this.addMember(tabSet);
}
}
Comment