Automatically handle table width