Hi,
I'm trying to have a dialog box that would pop up when a edit button
is press. When my dialog box appers, it cannot be dragged around and
does not appeir in the center of the screen. It just looks like
another widget.
here is the code
public void onModuleLoad() {
Label label = new Label("hello ted");
RootPanel.get().add(label);
// CREAT A DIALOG DRAG ABOUT
DialogBox dialog = new DialogBox();
dialog.setText("hello");
dialog.add( new Label("label"));
dialog.center();
// dialog.setHeight(200);
RootPanel.get().add(dialog);
}
Help!!! ted dialogbox
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---