Hello! I wanted to see that the component is not displayed type
"Layout" to add it to the center of the DialogBox. (Ie, not a Basic
panel).

Anyone know why this happens? and how I can fix it?

Ej:

public class Gwt_test implements EntryPoint {

        public void onModuleLoad() {

                DialogBox dialogBox = new DialogBox();

                LayoutPanel panel = new LayoutPanel();

                panel.add(new Label("HOLAAAA de adentrooo"));

                dialogBox.setText("My Title");

                dialogBox.setSize("400px", "400px");

                dialogBox.center();
                dialogBox.show();

                RootLayoutPanel rp = RootLayoutPanel.get();
                rp.add(dialogBox);

        }
}


------------------> Only view the  Title "My Title" without the text:
""HOLAAAA de adentrooo"

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to