iOS Question B4XFloatTextField Border colour not displayed when multiline option ticked

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hello

I have just noticed that when multiline option ticked the border is not shown.

Regards

John.
 

Semen Matusovskiy

Well-Known Member
Licensed User
To set B4XFloatTextField's borders is quite simple.
B4XFloatTextField has TextField property, which retrieves a view (TextView in your case).
Any view has a field "layer", which has fields "borderWidth", "borderColor" etc.

But it seems this is a bad way, because B4XFloatTextField does not reserve a space for borders
Better to place B4XFloatTextField over panel (with borders), which is a little wider than B4XFloatTextField
 

Attachments

  • Simulator Screen Shot - iPhone 11 Pro Max - 2020-07-10 at 18.53.07.png
    Simulator Screen Shot - iPhone 11 Pro Max - 2020-07-10 at 18.53.07.png
    212.9 KB · Views: 170
  • test.zip
    61.7 KB · Views: 144
Last edited:
Upvote 0
Top