No.
The problem with the OP is that they are setting the height of the VSP to
100% of nothing. The VSP is behaving correctly by being 0px high.

Ian

http://examples.roughian.com


2009/8/24 Michael Welter <[email protected]>

>
> Naw, this happens to me as well. If you resize the hosted browser with
> the mouse then it will display normally. We need some way of refreshing
> the root panel after a series of redraws.
>
> 李静 wrote:
> > well, you sure it dosen't have compile error?
> > see your constructor method!!
> >
> > 2009/8/23 google400 <[email protected] <mailto:[email protected]>>
> >
> >
> >     This is some very simple code that I'm using to try showing a
> >     VerticalSplitPanel, but the widgets I add don't show. The divider
> >     thing of VerticalSplitPanels does show however the widgets I add
> >     don't.
> >
> >     Code:
> >
> >     public class MyView extends Composite
> >     {
> >     private VerticalSplitPanel mainPanel=new VerticalSplitPanel();
> >
> >     public CountryFilterView()
> >     {
> >
> >     mainPanel.setSize("100%", "100%");
> >     mainPanel.setSplitPosition("50%");
> >     // Add some content
> >     String randomText = "This is some text to show how the
> >     contents on either "
> >     + "side of the splitter flow. "
> >     + "This is some text to show how the contents on either "
> >     + "side of the splitter flow. "
> >     + "This is some text to show how the contents on either "
> >     + "side of the splitter flow. ";
> >     mainPanel.setTopWidget(new HTML(randomText));
> >     mainPanel.setBottomWidget(new HTML(randomText));
> >     initWidget(mainPanel);
> >     }
> >     }
> >
> >     Am I doing something wrong, or is VerticalPanel just very annoyingly
> >     buggy?
> >
> >
> >     --
> >     李静
> >
> >     >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to