Class VerticalPanel


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

A panel that lays all of its widgets out in a single vertical column.

Here is an example of how to use this widget:


 function doGet() {
   var app = UiApp.createApplication();
   var panel = app.createVerticalPanel();
   panel.add(app.createButton("button 1"));
   panel.add(app.createButton("button 2"));
   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 VerticalPanel documentation here.

Deprecated methods

Send feedback about...

Apps Script