Maybe a bit cumbersome approach is to duplicate this RG with a fixed number of 2 cold manually centered. When you put each RG in a Group and set a condition that one group is only visible when count of items <= 2 and the other is visible when count > 2 with the option collapse height when hidden is checked, I think you should be able to achieve your goal.