Merge "Re-measure tab width after max width is decided"