Please consider adding a checkbox setting under "General > Results":
- Automatically size all columns to fit
ON RESULTS REFRESH
FOREACH column
SET column_width EQUAL TO (column_result_text_max_characters + padding)
END
ON RESULTS REFRESH
"Size All Columns to Fit" (existing function)