Closed even-of-the-hour closed 1 year ago
I seem to be doing exactly what the API docs say to do. So I conclude that whatever you're noticing is something that is out of my hands.
I could be persuaded of the need for a fix if someone could make an API call, e.g. via the API Explorer, that does better than range_autofit()
in a way that suggests what we're doing wrong. But I don't see anything obvious to tweak or experiment with here.
I am seeing
range_autofit()
fail to give adequate space for longer cells. I frequently write long cells and column names to google sheets and sometimes see that the function doesn't quite give these long cells quite enough room (i.e., it does some expanding but not enough).Example below:
In the image below (my output for the above reprex), the first and second column look successfully fit, but things aren't quite right in the third and fourth. Is there a maximum width that range_autofit() starts to have trouble with?