Druid Grid Align Each Row to Center

i’m using druid grid to display items in rows of 4 (X). in default, items added to grid are aligned to left. i wish to align each row to center. how can i achieve that?
in case less than X items are added, i believe aligning entire grid to center can be acheived by setting its size to the total size of items, but this won’t solve non-first rows with less than X items..

see screenshots.

ideas? thanks!


Hello! Check the grid example here: Druid 1.1.0

Check both checkboxes from properties panel: dynamic position and align last row, this can be adjusted in grid style table directly

Should helps in your case

Also the node pivot of grid parent should be a “Center” to align it by center

2 Likes