Adjust table layout.