Case report number is: 36804
Hi!
Can i check if the placeholder problem is fixed yet? The documentation says can but it seems the problem still persists as i cant add any placeholder to textBox, no such problem with textfield.
Regards,
Vincent
I don’t know if a bug report was ever filed or not. I’ve not seen any thing about it being fixed. We will need a bug report that shows the issue filed.
Rob
I just logged in the bug report. Thanks Rob.
Regards,
Vincent
Case report number is: 36804
Apologies if this has been resolved already - did we find a way to show some sort of distinguishable border for newTextBox for iOS?
It is somewhat perceptible on Android but there is absolutely no border on iOS. Is changing the background the only way to let the user know that there is a white text box to type into?
Any pointers will be much appreciated.
Cheers,
Anshuman
Hi @Anshuman,
Did you hide the background of the text input entirely? There’s no specific way to adjust the border only, but you could presumably put a vector rectangle behind the input field and that would make it look like a border.
Brent
We use native controls, so you get what the device wants to give you. What’s confusing is that OS-X has a border, iOS does not. Apple treats them differently. The background will turn off any background including border if the OS provides it. Many people drop some custom graphic item behind a transparent background text field when you want more than the OS provides.
Rob
Hi Brent,
I have the background as:
display.setDefault( "background", 255/255, 255/255, 255/255 )
And then the input box as:
myTextBox = native.newTextBox( 10 , 200 , display.actualContentWidth - 60, 50 ) myTextBox.anchorX = 0 myTextBox.isEditable = true
I might have to resort to adding a rectangle as a border.
Hi Rob, thanks for replying. I will have a go at either a custom background or a rectangle around the box.
Cheers
Apologies if this has been resolved already - did we find a way to show some sort of distinguishable border for newTextBox for iOS?
It is somewhat perceptible on Android but there is absolutely no border on iOS. Is changing the background the only way to let the user know that there is a white text box to type into?
Any pointers will be much appreciated.
Cheers,
Anshuman
Hi @Anshuman,
Did you hide the background of the text input entirely? There’s no specific way to adjust the border only, but you could presumably put a vector rectangle behind the input field and that would make it look like a border.
Brent
We use native controls, so you get what the device wants to give you. What’s confusing is that OS-X has a border, iOS does not. Apple treats them differently. The background will turn off any background including border if the OS provides it. Many people drop some custom graphic item behind a transparent background text field when you want more than the OS provides.
Rob
Hi Brent,
I have the background as:
display.setDefault( "background", 255/255, 255/255, 255/255 )
And then the input box as:
myTextBox = native.newTextBox( 10 , 200 , display.actualContentWidth - 60, 50 ) myTextBox.anchorX = 0 myTextBox.isEditable = true
I might have to resort to adding a rectangle as a border.
Hi Rob, thanks for replying. I will have a go at either a custom background or a rectangle around the box.
Cheers