Noting the following Corona doco:
http://blog.anscamobile.com/2012/02/corona-display-groups-101/
Property Differences
Due to the nature of groups, there are a few minor differences between them and “normal” image-based display objects. The main difference is that the default reference point for a group is display.TopLeftReferencePoint, whereas other display objects usually have their default reference point set to display.CenterReferencePoint.
I am noting that when I am setting a Groups X & Y co-ordinates I have to set them assuming it is the center of the object, not the top/left. However the Corona doco indicates it should be based on the TopLeftReferencePoint???
Question - Is the corona doco wrong here? or am I misreading?
-- EXAMPLE OF ROUGHLY HOW I'M TESTING
local inventoryToolbar = display.newGroup()
inventoryToolbar.xOrigin = 123
inventoryToolbar.yOrigin = 123
local it\_border = display.newRoundedRect(0, 0, 0, 0, 5)
it\_border.width = it\_width
it\_border.height = it\_height
inventoryToolbar:insert(it\_border)
-- then looking at the position of the object
[import]uid: 140210 topic_id: 25763 reply_id: 325763[/import]