Hello,
I have a page with a Scrollview1 buit with designer, 100%x, 100%y.
I add with code a texfield into the Scrollview.
I have to put text into the texfield with variable length.
I would like to adapt the text height and scrollview depending on the size.
I easily adapt the height of textfield with SizeToFit function but height of the scrollview remains often too long.
How to have the length of the scrollview1 according to the text size?
Thank you
I have a page with a Scrollview1 buit with designer, 100%x, 100%y.
I add with code a texfield into the Scrollview.
I have to put text into the texfield with variable length.
I would like to adapt the text height and scrollview depending on the size.
I easily adapt the height of textfield with SizeToFit function but height of the scrollview remains often too long.
B4X:
ScrollView1.Panel.AddView(TxtEcran,10dip,0,100%x,2100dip)
Thank you