This changes the calculation for text width to rely on icon size. Also changes min. width to 64px (up from 48px).
Some comparisons:
width: medium
width: large
Patched version also allows for tighter icon grid when using small icons with >=medium text width.