How to Justify Group of Images?

hello corona people!

justifying texts in corona is quite doable. .but im having trouble justifying a group of images like a bunch of square tiles. .i placed them in one group using display.newGroup(). then i do this:

_W = display.contentWidth

imageGroup.x = _W * 0.5 

but im not getting desired result…

how do i place them in center??

thnx in advance guyz! >:DD

image has been attached for more vivid detail

Did you set reference point? (before setting x position)

imageGroup : setReferencePoint(display.CenterReferencePoint)

@jonjonsson

thnx mate! and i was about to resort to calculus to make this work. turns out, it’s just a one-liner.haha

 thnx agnn :slight_smile:

That would have been a monumental waste of time :slight_smile:

Did you set reference point? (before setting x position)

imageGroup : setReferencePoint(display.CenterReferencePoint)

@jonjonsson

thnx mate! and i was about to resort to calculus to make this work. turns out, it’s just a one-liner.haha

 thnx agnn :slight_smile:

That would have been a monumental waste of time :slight_smile: