Dynamic gadget size (Google Apps Script) -


i have created gadget (10 treeitems content) using google apps script.

after created 10 treeitems content, realise have manually set size of gadget 7000 pixels in order display content (if expand treeitems).

may know there way/ possible make size of gadget flexible/dynamic based on action taken (e.g. : size of gadget change when treeitems expanded )?

instead of resizing gadget, why not add tree scroll panel, don't think matter how big tree gets because users can use scroll bars view it.

function doget(e) {    var app = uiapp.createapplication();   var tree = app.createtree();   var scroll = app.createscrollpanel(tree).setwidth(800);    //add items tree    app.add(scroll);   return app; } 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -