hi,
  The Scroll bar didn't displayed  in Collapse content Panel at the
first time.And we collapse the  content Panel, then it will come.why?
The code is

 TableColumn[] columns1 = new TableColumn[2];

        columns1[0] = new TableColumn("Job ID", 150);
        columns1[1] = new TableColumn("Job Title", 200);


        TableColumnModel cm1 = new TableColumnModel(columns1);
        tb2 = new Table(Style.MULTI | Style.HORIZONTAL, cm1);
        tb2.setBorders(true);
        tb2.setSize("385px", "110px");

        TableViewer viewer = new TableViewer(tb2);
        viewer.setContentProvider(new ModelContentProvider());

        final ContentPanel contentPanel = new ContentPanel
(Style.HEADER
                | Style.COLLAPSE);
        contentPanel.setSize("400px", "157px");
        contentPanel.setFrame(true);
        contentPanel.setAnimateCollapse(false);
        contentPanel.setAlwaysShowScrollBars(true);
        contentPanel.setText("Job Details");
        contentPanel.setLayout(new FillLayout());
        contentPanel.add(tb2);


        WidgetContainer conf=new WidgetContainer();
        conf.setLayout(new FillLayout());
        conf.add(contentPanel);
        conf.setSize("415px", "159px");

        absolutePanel.add(contentPanel, 130, 65);

Plz help me...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to