Hi again! This time it seems that the alpha property of native.newTextBox isn’t working on my GalaxyTab 10.1.
Here’s the code:
display.setStatusBar(display.HiddenStatusBar)
local backImage = display.newImage("546628.jpg")
backImage.x = display.contentWidth / 2
backImage.y = display.contentHeight / 2
textBox = native.newTextBox( 15, 200, 500, 200 )
textBox.font = native.newFont( "Helvetica-Bold", 16 )
textBox:setTextColor(0,0,0)
textBox.alpha = 0.5
textBox.text = "This is line 1 and it is a very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long line... I hope it will wrap!\nAnd this is line2.\nAnd this is line3.\nAnd this is line4.\nAnd this is line5.\nAnd this is line6.\nAnd this is line7.\nAnd this is line8.\nAnd this is line9.\nAnd this is line10.\nAnd this is line11.\nAnd this is line12.\nAnd this is line13.\nAnd this is line14.\nAnd this is line15."
textBox.isEditable = false
with a background image. However, no alpha seems to work.
Am I missing something?
Cheers! [import]uid: 94362 topic_id: 24844 reply_id: 324844[/import]