Android Question B4XFloatTextField - Multiline Bug

Alexander Stolte

Expert
Licensed User
Longtime User
The 1st line overlaps the text hint.
Screenshot_20201006-115908 (2).jpg
 
Last edited:

Mahares

Expert
Licensed User
Longtime User
he 1st line overlaps the text hint.
I tried it on one of my projects and it works as intented. There is no overlap with the hint text. However, here a solution in your case that was given not long ago by Erel:that hides the hint as soon as you start typing
B4X:
Sub B4XFloatTextField1_TextChanged (Old As String, New As String)
    B4XFloatTextField1.mBase.GetView(1).Visible = New.Trim.Length = 0
End Sub
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
I tried it on one of my projects and it works as intented. There is no overlap with the hint text. However, here a solution in your case that was given not long ago by Erel:that hides the hint as soon as you start typing
But I mean the 2nd textbox where the multiple lines are. Where the line is underlined in red.
I do not intend to hide the hint text.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Try to increase it and you will see that there will be no more overlap.
Maybe, but it is still a bug that should be fixed, unless it is explicitly stated that the view may have a maximum height of x.
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
Your original image in post#1 was totally different from what you have now. Why did you change it and removed the 1st B4XFloatText. You initially were talking about the 2nd B4XFloatText drowning the 1st B4XFloatText.
Because the 1. B4XFloatText has nothing to do with the error and is irrelevant, it is separated from the 2. B4XFloatText.
Next time I will make sure that only the affected view is visible.
 
Upvote 0
Top