I did:
function doGet() {
var app = UiApp.createApplication();
// Create a dialog box.
var dialog = app.createDialogBox();
// Add a label to the dialog and set the dimensions and position.
dialog.setPopupPosition(100, 100).setSize(500, 500).show();
// Show the dialog. Note that it does not have to be "added" to the UiInstance.
dialog.show();
return app;
}
Deployed and got:
This is obviously not what I expected. what am I doing wrong?
Don't worry,
.createDialogBox()
seems to be broken. Write your entry into the issue tracker I'll star it as soon as your entry shows up there.I use
PopupPanel
which works fine and gives the same functionality minus the draggability