Hi all,
When I tried to add something in my gadget its showing as blank.
Meantime @ModulePrefs values are showing without any prblm.

for eg:
@ModulePrefs(//
    title = "Hello GWT for gadgets!", //
    directory_title = "HelloGadgets - Google APIs for GWT"
)
public class HelloGadgets extends Gadget<HelloPreferences>{

  protected void init(final HelloPreferences prefs) {
        Button button = new Button("Click me");
VerticalPanel vPanel = new VerticalPanel();
    vPanel.setWidth("100%");
    vPanel.setHorizontalAlignment(VerticalPanel.ALIGN_CENTER);
      vPanel.add(button);
RootPanel.get().add(vPanel);
}

when i tried to upload gadgets its shows only a gadget with "hello gwt
for gadgets!" ..but the contents inside the panel is not showing.....i
mean here the button.

can somebody point me what might be the reason
thanks
zuje
--~--~---------~--~----~------------~-------~--~----~
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