B4J Question Textarea is too short (editable part)

ajk

Active Member
Licensed User
Longtime User
b4example.png
I have the problem with editable part of textarea. Sometimes it is displayed too short like in the screen shoot above.

Fields are inserted by code like:

B4X:
    Dim OWT As TextArea
    OWT.Initialize("owt")
    OWT.Text = ""
    OWT.Tag =   "<nowa><WE>" & PIW & "</WE>" & "<wizID>***</wizID>" &"<PID>" & PWYB & "</padID>" & "<typpola>owt</typpola>"& "<NRP>" & PIW & "</NRP>"
    CSSUtils.SetStyleProperty(OWT, "-fx-font-size", 15)
    n.AddNode(OWT, 110, PIW * WP, 900, WP*0.95)

Textarea field width is always the same (900).

It fires randomly. If I click on textarea and start to edit it - it starts so show full length.


View attachment 75223
 
Last edited:

ajk

Active Member
Licensed User
Longtime User
Solution: when the form already contains textarea(s) /given by code or designer/ and we try to put another textarea in the same place the result is as above
 
Upvote 0
Top