on the lower left is written "Error on page" is it meaningful or not? bye pat
2010/2/18 Ray <[email protected]> > Dear Patrizio, > > Thank you for the kindly help. > > I tried it with the call to setAutoScroll(true) on the > verificationTable, and even on the formPanel. And the scroll bar > didn't appear as you would expect. > > Also I couldn't find a way to attach the screen shot to the message. > So could you please have a look at the screen shot at this location > [http://www.gwt-ext.com/forum/download/file.php?id=711]. > > Cheers > Ray > > On Feb 17, 11:05 pm, Patrizio De Michele <[email protected]> wrote: > > you have to setAutoScroll on the verificationTab.... > > > > 2010/2/14 Ray <[email protected]> > > > > > Hi there, > > > > > I am using GWT 1.5.3, and GWT-EXT 2.0.5. > > > > > And I am having a problem to display a TreePanel properly in the > > > TabPanel in IE, FireFox, and the hosted mode. > > > > > The problem, as shown also in the attached JPG file, is that when the > > > height of the TreePanel is bigger than its containing panel inside the > > > TabPanel, the over-sized part of the TreePanel is cut off, and does > > > not get displayed at all. Even though the TreePanel and its containing > > > panel are set to AutoScroll, as detailed in the following code > > > snippet, the containing panel does not display a scroll bar that > > > would allow to scroll to the bottom of the TreePanel, which I was > > > expecting to happen. > > > > > I would really appreciate if anyone could help out on this or point me > > > to the right direction. > > > > > Thanks in advance > > > Ray > > > > > > --------------------------------------------------------------------------- > > > Code snippet for creating a TreePanel in a TabPanel: > > > > > protected void createWorkflowDetailsPanel() { > > > detailsPanel = new Panel(); > > > > > detailsPanel.setBorder(false); > > > detailsPanel.setPaddings(10); > > > detailsPanel.setAutoScroll(true); > > > > > // create the form > > > detailsForm = new FormPanel(); > > > > > detailsForm.setFrame(true); > > > detailsForm.setTitle(DETAILS_FORM_GROUP_TITLE_DETAILS); > > > detailsForm.setPaddings(5, 5, 5, 0); > > > > > detailsForm.setLabelWidth(80); > > > > > detailsForm.add(createTabLayoutPanel()); > > > > > detailsPanel.add(detailsForm); > > > } > > > > > private Panel createTabLayoutPanel() { > > > TabPanel formPanel = new TabPanel(); > > > formPanel.setActiveTab(0); > > > > > // add other tabs > > > ... > > > > > // verification tab > > > > > verificationTab = new Panel(); > > > verificationTab.setTitle("Verification"); > > > verificationTab.setLayout(new FormLayout()); > > > verificationTab.setAutoHeight(true); > > > verificationTab.setPaddings(10); > > > > > createTreePanel(); > > > > > verificationTab.add(treePanel); > > > > > formPanel.add(verificationTab); > > > > > return formPanel; > > > } > > > > > private void createTreePanel() { > > > treePanel = new TreePanel(); > > > > > treePanel.setWidth(550); > > > treePanel.setAutoHeight(true); > > > treePanel.setRootVisible(false); > > > treePanel.setAutoScroll(true); > > > treePanel.setTitle("Workflow steps and their parameters"); > > > treePanel.setBorder(true); > > > > > // root node > > > rootNode = new > > > TreeNode(BaseTreeNode.TREE_NODE_WORKFLOW_DETAILS_PARAMETERS_ID); > > > > > treePanel.setRootNode(rootNode); > > > > > treePanel.getRootNode().expand(); > > > > > // add tree nodes > > > ... > > > } > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "GWT-Ext Developer Forum" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<gwt-ext%[email protected]> > <gwt-ext%[email protected]<gwt-ext%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/gwt-ext?hl=en. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "GWT-Ext Developer Forum" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<gwt-ext%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/gwt-ext?hl=en. > > -- You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en.
