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
Post a Comment