I have created a gadget (10 treeitems with content) using Google Apps Script.
After I created 10 treeitems with content, I realise that I have to manually set the size of gadget to 7000 pixels in order to display all the content (if I expand all the treeitems).
May I know is there any way/ is it possible to make the size of gadget flexible/dynamic based on action taken (e.g. : size of gadget will change when treeitems is expanded )?