+1
i could care less if the system had to adjust the text box a few pixels
but even a bigger issue for me is theres no way to make it correct for all devices
ive tried to calculate the correct size and add the extra pixels for whatever device
its running on but cant cause we’re dealing with content size and the text box
is dealing with actual size
ps. also tried using actual pixelWidth/pixelHeight of device to adjust but still didnt work
cause we create the texdt box using content size
heres a simple test app
local \_w = display.contentWidth -- content width local \_h = display.contentHeight -- content height local \_x = display.screenOriginX -- screen origin x local \_y = display.screenOriginY -- screen origin y local textHeight = ((\_h - \_y) - 50) -- calculate height needed for text box print("textHeight = "..textHeight) -- print to terminal textHeight = textHeight + (4 - textHeight%4) -- adjust the height for multiple of 4 print("new textHeight = "..textHeight) -- print new height to terminal local txt = display.newText( "", \_x, \_y+20, \_w-\_x, textHeight, native.systemFontBold, 12 ) -- create text box using new height -- check terminal still get warning msg.