Android Question BBcodeview limitation scrollview height ?

Dieter Baumgartner

Member
Licensed User
Longtime User
Is there a limitation in the contentHeight inside the scrollview of a BBcodeview ?
Everythink is ok until it reaches the amount of sv.height arount 5000. Over that, the content gets shortened.

Scrollview height limit ?:
    If BBCodeView1.Paragraph.IsInitialized Then
        Dim ContentHeight As Int = Min(BBCodeView1.Paragraph.Height / textengine.mScale + BBCodeView1.Padding.Top + BBCodeView1.Padding.Bottom, BBCodeView1.mBase.Height)
        BBCodeView1.mBase.Height = ContentHeight
        BBCodeView1.sv.Height=ContentHeight
        BBCodeView1.sv.ScrollViewContentHeight = ContentHeight
    End If
bbcodeview limitation.png

Any solution in the great B4X community ?
 
Top