Alexander Stolte Expert Licensed User Longtime User Oct 6, 2020 #1 The 1st line overlaps the text hint. Last edited: Oct 6, 2020
M Mahares Expert Licensed User Longtime User Oct 6, 2020 #2 Alexander Stolte said: he 1st line overlaps the text hint. Click to expand... 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 Code: Copy Sub B4XFloatTextField1_TextChanged (Old As String, New As String) B4XFloatTextField1.mBase.GetView(1).Visible = New.Trim.Length = 0 End Sub Upvote 0
Alexander Stolte said: he 1st line overlaps the text hint. Click to expand... 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 Code: Copy Sub B4XFloatTextField1_TextChanged (Old As String, New As String) B4XFloatTextField1.mBase.GetView(1).Visible = New.Trim.Length = 0 End Sub
Alexander Stolte Expert Licensed User Longtime User Oct 6, 2020 #3 Mahares said: 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 Click to expand... 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
Mahares said: 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 Click to expand... 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.
M Mahares Expert Licensed User Longtime User Oct 6, 2020 #4 Alexander Stolte said: But I mean the 2nd textbox where the multiple lines are Click to expand... I do not have that problem, unless you are overapping both B4XFloatText. If you suspect it is a bug as you claim, then Erel always comes to the rescue. Upvote 0
Alexander Stolte said: But I mean the 2nd textbox where the multiple lines are Click to expand... I do not have that problem, unless you are overapping both B4XFloatText. If you suspect it is a bug as you claim, then Erel always comes to the rescue.
LucaMs Expert Licensed User Longtime User Oct 6, 2020 #5 I think it is due to the relationship between the height of the B4XFloatText and the TextSize. I'm afraid B4XFloatText has several bugs. Upvote 0
I think it is due to the relationship between the height of the B4XFloatText and the TextSize. I'm afraid B4XFloatText has several bugs.
Alexander Stolte Expert Licensed User Longtime User Oct 6, 2020 #6 Mahares said: unless you are overapping both B4XFloatText. Click to expand... nope. LucaMs said: the TextSize Click to expand... The text size is the default 14. Upvote 0
Mahares said: unless you are overapping both B4XFloatText. Click to expand... nope. LucaMs said: the TextSize Click to expand... The text size is the default 14.
LucaMs Expert Licensed User Longtime User Oct 6, 2020 #7 Alexander Stolte said: The text size is the default 14. Click to expand... ... and the view height? Try to increase it and you will see that there will be no more overlap. Upvote 0
Alexander Stolte said: The text size is the default 14. Click to expand... ... and the view height? Try to increase it and you will see that there will be no more overlap.
Alexander Stolte Expert Licensed User Longtime User Oct 6, 2020 #8 LucaMs said: Try to increase it and you will see that there will be no more overlap. Click to expand... 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
LucaMs said: Try to increase it and you will see that there will be no more overlap. Click to expand... 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.
LucaMs Expert Licensed User Longtime User Oct 6, 2020 #9 Alexander Stolte said: but it is still a bug that should be fixed Click to expand... LucaMs said: I'm afraid B4XFloatText has several bugs. Click to expand... Upvote 0
Alexander Stolte said: but it is still a bug that should be fixed Click to expand... LucaMs said: I'm afraid B4XFloatText has several bugs. Click to expand...
M Mahares Expert Licensed User Longtime User Oct 6, 2020 #10 Alexander Stolte said: nope. Click to expand... 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. Upvote 0
Alexander Stolte said: nope. Click to expand... 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.
Alexander Stolte Expert Licensed User Longtime User Oct 6, 2020 #11 Mahares said: 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. Click to expand... 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
Mahares said: 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. Click to expand... 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.
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2020 #12 You can change the text field padding to leave more space for the hint: Code: Copy Dim v As View = B4XFloatTextField1.TextField v.Padding = Array As Int(2dip, 20dip, 2dip, 20dip) Upvote 0
You can change the text field padding to leave more space for the hint: Code: Copy Dim v As View = B4XFloatTextField1.TextField v.Padding = Array As Int(2dip, 20dip, 2dip, 20dip)