[BUG?] Issue with native.newTextBox and hasBackground property

Good morning everyone.

I am trying to create a new textBox with no background, but when I do even if I set the hasBackground property to false the textBox still is created with a white background and I am not sure why.

First I thought it was just on simulator, but than I build and in the device the background also was there. Is this property not suppose to work with textBoxes?

Following the code I made to test:

local background = display.newRect(0, 0, 900,900); background.anchorX = 0; background.anchorY = 0; background.fill = {0, 0, 0, 0.8}; local textArea = native.newTextBox(400, 300, 500, 300); textArea.hasBackground = false; textArea.isEditable = true

I am using latest version of Corona in MacOs.

Thanks in advanced.

Nobody? =/

Is this simulator or device? If device, please give model and OS version. Please provide the simulator version you are using as well.

To get the full effect for text fields, they need to be tested on a device.  OS-X and iOS text fields are different (and Android too) and since the target is the mobile devices, don’t judge visual behavior in the simulator.

Rob

As I said in the first, it is happening in both. The screenshot I attached it is from Simulator, but I tried to build in an android device and the same thing happened. The android device was a Nexus 5 tablet with android version 4.4

Nobody? =/

Is this simulator or device? If device, please give model and OS version. Please provide the simulator version you are using as well.

To get the full effect for text fields, they need to be tested on a device.  OS-X and iOS text fields are different (and Android too) and since the target is the mobile devices, don’t judge visual behavior in the simulator.

Rob

As I said in the first, it is happening in both. The screenshot I attached it is from Simulator, but I tried to build in an android device and the same thing happened. The android device was a Nexus 5 tablet with android version 4.4