Pivot samples
Configuration
Headers auto width
You can set the auto width of the rows headers.
Check documentation:
Setting Columns Width