Add new widget resize behaviour and bump version to 1.22.