Hi,
I’ve reached my wits end on this issue. I use the following code to display multiline text:
local NPoptions =
{
text = “”,
width = 350, --required for multi-line and alignment
height = notepadpaper.height+130,
font = gameSettings.handprintedFont,
fontSize = 16,
align = “left” --new alignment parameter
}
notepadText = display.newText( NPoptions )
notepadText:setTextColor(0, 0, 0)
notepadText.x = notepadpaper.x - 175
notepadText.y = notepadpaper.y
notepadText:toFront()
notepadText:setReferencePoint(display.CenterReferencePoint);
notepad_read_flag = “true”
popupNotepadGroup:insert( notepadText )
NPoptions = nil
I set the text value later on. When I display it on Windows it looks fine. When I display it in the simulator and IOS the height of the text is all wrong. It does not fill out the background page I’ve displayed. Everything else looks correct (font type).
Shouldn’t this display exactly the same in the Windows simulartor VS Apple simulator?
Any ideas why this might be?
Thanks,
Arthur