Copy & Paste?

 

话说你这两天很活跃啊,信箱里看到一堆你的答复。。@@

 

From: [email protected]
[mailto:[email protected]] On Behalf Of 李静
Sent: 2009年8月24日 11:29
To: [email protected]
Subject: Re: VerticalSplitPanel doesn't show widgets

 

well, you sure it dosen't have compile error? 

see your constructor method!!

2009/8/23 google400 <[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?


-- 
李静


 

__________ Information from ESET Smart Security, version of virus signature
database 4361 (20090823) __________

 

The message was checked by ESET Smart Security.

 

http://www.eset.com


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