Max, If you're using standards mode, height:100% get tricky. Can you try setting the height of the outer most container to a specific number of pixels, just as a test?
Fred On Tue, Jun 30, 2009 at 4:44 PM, max3000 <[email protected]> wrote: > > I'm trying to surround a HSP (height: 100%) with a DecoratorPanel. I > can get it to work in Hosted, IE and Chrome. Unfortunately, no > combination seems to work in Firefox. > > The code is straightforward: > > public void test(Panel parentPanel) { > HorizontalSplitPanel hSplitPanel = new HorizontalSplitPanel(); > // hSplitPanel.setHeight("100%"); > // hSplitPanel.setHeight("100px"); > > hSplitPanel.setLeftWidget(new Label("left")); > hSplitPanel.setRightWidget(new Label("right")); > > DecoratorPanel decPanel = new DecoratorPanel(); > decPanel.setHeight("100%"); > decPanel.setWidget(hSplitPanel); > > parentPanel.add(decPanel); > } > > (BTW, parentPanel in my case is a RootPanel.) > > In firefox, the code above doesn't show neither the split line, "left" > or "right". > Un-commenting the first line does nothing (same behavior). > Un-commenting the second line works (split line and texts are shown in > firefox) but the HSP is not 100% in height. > > What am I missing? > > Thanks, > Max > > > > -- Fred Sauer [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
