Knit a swatch without it rolling?

I know there is a way to do this, but I don’t remember how…Thanks!

You could put a garter edge on it, making sure that the stockinette between the edges is more than 4 inches.

I usually just uncurl it and measure. :shrug: