javascript - Google Apps Script How to align in a grid -


how align button in center of cell within grid?

  var buttongrid = app.creategrid(3,2).setid('buttongrid');   buttongrid.setstyleattribute(row, column, attribute, value);   buttongrid.setwidget(0,0,multibutton);   buttongrid.setwidget(1,0,submitb); 

this worked:

  var buttongrid = app.creategrid(3,2).setid('buttongrid');   buttongrid.setstyleattribute("text-align", "center");   buttongrid.setwidget(0,0,multibutton);   buttongrid.setwidget(1,0,submitb); 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -