pub fn calculate_column_width(total_width: u16, columns: usize) -> u16
Calculate column width for the scripts grid.