Port spacing takes line wrapping into consideration

Fix for port alignment spoilt by text wrapping