Nevermind -- appears to be CSS related. Commenting out the use of a particular CSS file makes the problem go away.
On Sep 14, 8:03 pm, davis <[email protected]> wrote: > Hi Ian, here's a simple example that demonstrates the problem. The > expected result is that I would see the corresponding Label when a tab > is selected but I do not, because the style is set to DISPLAY: none > even when the tab is selected. I don't see the same behavior in > FireFox. > > @Override > public void onModuleLoad() { > > VerticalPanel main = new VerticalPanel(); > final DialogBox dialog = new DialogBox(); > > VerticalPanel vPanel = new VerticalPanel(); > vPanel.setSize("400px", "400px"); > TabPanel tabPanel = new TabPanel(); > tabPanel.add(new Label("This is tab one"), "Tab1"); > tabPanel.add(new Label("This is tab two"), "Tab2"); > tabPanel.selectTab(0); > > vPanel.add(tabPanel); > Button close = new Button("Close"); > close.addClickHandler(new ClickHandler() { > @Override > public void onClick(ClickEvent arg0) { > dialog.hide(); > }}); > vPanel.add(close); > dialog.add(vPanel); > > Button show = new Button("Click Me"); > show.addClickHandler(new ClickHandler(){ > @Override > public void onClick(ClickEvent arg0) { > dialog.show(); > }}); > > main.add(show); > > RootPanel.get().add(main); > } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
