Hello
On android I have some text boxes that become multiline. But I need them to be single line text boxes, no matter any scaling ecc… If i change
title = display.newText("HelloWorld!" , 0, 0, "Calibri", \_W \* 0.085)
to
title = display.newText("HelloWorld!" , 0, 0, \_W, 0, "Calibri", \_W \* 0.085)
where _W and _H are display.viewableContentWidth and display.viewableContentHeight
my text doesn’t wrap but I cannot place it precisely where I want because it seems it has padding on both sides
So is there a way I can accomplish this?
Here’s my config.lua
local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { width = aspectRatio \> 1.5 and 320 or math.ceil( 480 / aspectRatio ), height = aspectRatio \< 1.5 and 480 or math.ceil( 320 \* aspectRatio ), scale = "zoomEven", fps = 30, imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, }