Yes the example you provided works, but I forgot to mention that the images are all in a scrollView…
so setting the text x,y at the same x,y of the image doesn’t work…
here is my code…
rowTable[imageText] = {text, image} -- rowTable[imageText].image = display.newImageRect( imagePath, 200, 200 ) rowTable[imageText].image.anchorX = 0 rowTable[imageText].image.anchorY = 0 rowTable[imageText].image.x = 45 rowTable[imageText].image.y = yOffset -- rowTable[imageText].text = display.newText(imageText, 45, yOffset, native.systemFontBold, 20) rowTable[imageText].text.anchorX = 0 rowTable[imageText].text.anchorY = 0 rowTable[imageText].text.x = 45 rowTable[imageText].text.y = yOffset -- scrollView:insert(rowTable[imageText].image) scrollView:insert(rowTable[imageText].text)