私は自分の新しい Web アプリ プロジェクトを開始しようとしています。最初に、GAS、UI サービスを使用して、メインのユーザー インターフェイスを作成したいと考えていました。
しかし、パネルの種類に混合した後、機能しないようです。
いったい私は何を間違っているのでしょう。
function doGet() {
var app = UiApp.createApplication();
var westPanel = app.createVerticalPanel()
.add(app.createButton("Button 1"))
.add(app.createButton("Button 2"))
.add(app.createButton("Button 3"));
var centerPanel = app.createVerticalPanel()
.add(app.createHTML('Some Text.....'));
var splitPanel = app.createSplitLayoutPanel()
.addWest(westPanel, 150)
.add(centerPanel)
.setHeight('100%').setWidth('100%');
var tabPanel = app.createDecoratedTabPanel()
.add(splitPanel, 'Finances')
.setHeight('100%').setWidth('100%');
app.add(tabPanel);
return app;
}
敬具