Thanks for the tip.
Yes I have tried .height. Actually I originally built my app for iOS using .height and only tried .contentHeight after having an issue on the Kindle Fire and seeing a forum posting. I get the same behavior with both .height and .contentHeight. iPad and iPod Touch look great on the simulator and devices, Kindle Fire looks great on the simulator but the device adds the spacing for 2 blank lines.
This is only for multiline text. Single text line text blocks look good on the Kindle Fire device.
My code looks like this:
local textDisplayGroup = display.newGroup()
local categoryObject = display.newText(category, 0, 0, textWidth, 0, native.systemFontBold, _G.fontSize)
categoryObject:setReferencePoint(display.TopLeftReferencePoint)
categoryObject.x = textMargin
categoryObject.y = textYoffset
textDisplayGroup:insert(categoryObject)
local textObject1 = display.newText( textBlock1, 0, 0, textWidth, 0, native.systemFont, _G.fontSize )
textObject1:setReferencePoint(display.TopLeftReferencePoint)
textObject1.x = textMargin
textObject1.y = textYoffset + textDisplayGroup.contentHeight
textDisplayGroup:insert(textObject1)
The issue is that on the Kindle Fire device, textBlock1 is 3 lines below category if category is multiple lines of text. On the Simulator and iOS devices and for single lines of text on the Kindle Fire, textBlock1 is 1 line below category.
Thanks for your help!