I want to show a panel inside a dialogbox. But the box remains empty. What 
am I missing:

DialogBox box = new DialogBox(true, true);
box.setText("test");

Image image = new Image(); //getting any image somewhere

DockLayoutPanel dp = new DockLayoutPanel(Unit.PCT);
dp.addNorth(image, 100);
box.setWidget(dp);
box.center();
box.show();


Result: Empty popup dialog.

I also tried using Unit.EM and PX, tried adding the image as center. 
Nothing changes.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to