A ajk Active Member Licensed User Longtime User Dec 11, 2018 #1 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: Dec 11, 2018
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
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2018 #2 Does it happen if you add the views with the designer? Upvote 0
A ajk Active Member Licensed User Longtime User Dec 12, 2018 #3 No. But I have to add it by code according to criteria selected by the user. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2018 #4 Try to reproduce it in a small project and upload it. Upvote 0
A ajk Active Member Licensed User Longtime User Jan 3, 2019 #5 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
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