Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Smartgwt.mobile tabs not showing in ScrollablePanel

    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:

    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);
    	}
    }

    #2
    Don't use Firefox to test SmartGWT.mobile (see User Guide). Are you seeing this in any supported environment?

    Comment


      #3
      The problem is that I have Windows 8 OS on my computer and for Chrome on Windows8 there is no GWT plugin available so I can't run any GWT applications in development mode

      Comment


        #4
        Do you have any suggestions on how can I develop Smartgwt.mobile application on Chrome on Windows 8?

        Comment


          #5
          Resolved!

          After searching the web i've found an workaround for developing on Chrome on Windows 8. More details you can find here: https://code.google.com/p/google-web-toolkit/issues/detail?id=7569. Hope this helps. By the way, Isomorphic you cand post this link or a short tutorial on your FAQ because i am sure that many users will get in this problem.

          Comment

          Working...
          X