B4J Question B4XFloatTextField in B4J Not Showing icons for reveal and check

virpalacios

Active Member
Licensed User
Longtime User
Hi All, Thanks in Advance for your comments, I have been trying to practice with b4xfloatextfield in b4j, everything is working, however I cant get icons for check and reveal password, using it in B4A is fine, however I like to use it in B4J. Again thanks for your comments. 👋 :D

B4XFloat.png
 
Last edited:

LucaMs

Expert
Licensed User
Longtime User
B4J

1758600297296.png


so something is wrong with your project and without being able to see it it will be impossible to help you.

Try using the following code. If it works, write similar code for ftfPW.lblClear:
B4X:
    Dim Left, Top, Width, Height As Int
    Height = ftfPW.mBase.Height * .8
    Top = ftfPW.mBase.Height / 10
    Width = Height
    Left = ftfPW.mBase.Width - Width - 5dip
    ftfPW.lblV.SetLayoutAnimated(0, Left, Top, Width, Height)
 
Upvote 0

virpalacios

Active Member
Licensed User
Longtime User
Hi, I did a small project, it works fine, I pointed out that the problem is related to a style.css I am using, I need to check it to include fonts for eye icon and for the arrow too.

Thanks again for your help,

Best Regards
 
Last edited:
Upvote 0
Top