How to center horizontal columns in RG?

Hi everyone,

How can a horizontal RG with multiple columns (10), display centered if only 1 or 2 data records are present?

I would like the below icons to display in the center of the group rather than left aligned:
Screen Shot 2021-09-09 at 9.02.49 AM

Thank so much,
Jason

There’s a workaround for this (but not pretty).

You can simply create a second horizontal RG that has a Conditional that says "When this repeating group’s count <= 2 then it’s visible.

And set a conditional on the first RG that says it will be invisible if the count is <= 2

Thanks, appreciate the help. Yes, it would be pretty messy to accommodate for so many RGs to capture each scenario 3,4,5,6, etc.

Surprising this hasn’t been resolved with a plugin or CSS code yet. There seems to be a lot of questions about this over the years. Any other ideas?

Thanks again,
Jason

No you wouldn’t need a new RG for each scenario. Just 1 RG for 1,2,3,…n etc. until it fills up the entire space. Then when it does you switch over to the other RG. So RG’s: count <= n

This topic was automatically closed after 70 days. New replies are no longer allowed.