'Is there any function / API to customize a slicer width in Google Sheet with Apps Script?

I am trying to customize a slicer width through Apps Script but i can't see any function or API calls to do this. According to the documentation, I can customize many things but the slicer width is not a part of it.

Any help appreciated.

Alex



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source