B4J Question [Solved] XUI Views. B4XFloatTextField. Border properties does not work

Dadaista

Active Member
Licensed User
Longtime User
Hi

B4XFloatTextField border properties are not working.

Border color
Border Width
Corner Radius

Designer
2021-02-18.png


Run time
2021-02-19.png


How can I solve it?
 
Last edited:

LucaMs

Expert
Licensed User
Longtime User
Two strange things (bugs?); border and white text color:

B4X:
Do While True
    B4XFloatTextField1.TextField.SetColorAndBorder(xui.Color_Yellow, 3, xui.Color_Blue, B4XFloatTextField1.TextField.Height / 4)
    B4XFloatTextField1.TextField.TextColor = xui.Color_Black
    Sleep(1000)
    B4XFloatTextField1.TextField.SetColorAndBorder(xui.Color_Blue, 3, xui.Color_Yellow, B4XFloatTextField1.TextField.Height / 4)
    B4XFloatTextField1.TextField.TextColor = xui.Color_White
    Sleep(1000)
Loop

1.gif
 
Upvote 0
Top