I'm using the google API on Python to create a table on a Slide. I can populate the table well enough, however, I haven't gotten how to change the dimensions (row, height) of the cells. Please help!
I am able to edit the text properties like Font and Font size but I'm not sure how to change the size of the cell that contains it.
This is my code for updating the font in a cell. Is there a way to update the height and width here?
reqs = [
{
"updateTextStyle": {
"objectId": tableID,
"cellLocation": {
"rowIndex": i,
"columnIndex": j
},
"style": {
"foregroundColor": {
"opaqueColor": {
"rgbColor": {
"red": 0,
"green": 0,
"blue": 0
}
}
},
"bold": True,
"fontFamily": "Gill Sans",
"fontSize": {
"magnitude": 8,
"unit": "PT"
}
},
"textRange": {
"type": "ALL"
},
"fields": "foregroundColor,bold,fontFamily,fontSize"
}
}for i, order in enumerate(orders) for j, data in enumerate(order)
]