How to extend the width of a column header

When I use this solution and go to last column I get something like this:

Shift column and something weird at the end.