Hide

Class AbsolutePanel

AbsolutePanel

Deprecated. The UI service was deprecated on December 11, 2014. To create user interfaces, use the HTML service instead.

An absolute panel positions all of its children absolutely, allowing them to overlap.

Here is an example of how to use this widget:

 

 function doGet() {
   var app = UiApp.createApplication();
   var button = app.createButton("a button");
   var panel = app.createAbsolutePanel();
   // add a widget at position (10, 20)
   panel.add(button, 10, 20);
   app.add(panel);
   return app;
 }
 

Internally, UiApp widgets are built on top of the Google Web Toolkit, and it can sometimes be helpful to look at the GWT documentation directly. You can find the AbsolutePanel documentation here.

Deprecated methods
























Send feedback about...

Apps Script