B4J Question Horizontal CLV

Ilya G.

Active Member
Licensed User
Longtime User
Hi, why inner panel of clv is moved vertically?

Video_2020-11-05_221237.gif
 

Attachments

  • clv.zip
    3.3 KB · Views: 159

Brian Dean

Well-Known Member
Licensed User
Longtime User
I don't really understand the problem, but I know how to fix it.

The problem seems to be that the scroll pane of the CLV is slightly undersize with respect to the custom list view itself. Increasing the size by a couple of dips fixes that ...
B4X:
    .. .. ..
    Dim sp As ScrollPane = CustomListView1.sv
    sp.PrefHeight = 142                '<==== ADD THIS LINE ####
    sp.Pannable = True
    .. .. ..

Possibly there is something wrong in the your layout that would avoid this problem, but I cannot see it. Maybe someone else can.
 
Upvote 0
Top