Android Question Variable scrolling

ciginfo

Well-Known Member
Licensed User
Longtime User
Hello,
I have scroll.panel and a label into.
ScrollEcran.Panel.Height = 1500dip
ScrollEcran.Panel.AddView(LblEcran,5dip,5dip,95%x,1500dip)
The Text in the label (LblEcran) has a variable lenght, 20 lines and sometimes 100 lines and more.
When there is few lines in the lablel, scrolling is too long, there is too much space between the end of the text and the end of the Scroll.Panel.
I've seen in different applications that this space was variable, scrolling stops at the end of te text.
Is it possible to make this with B4A?
Thank you
 
Top