As per the official guide, in Pixelmator Pro you can click to create a free text box (which changes size to match what you type) or drag to create a bounded text box (which remains the same size regardless of contents).
Is there a way to switch between these two text modes?