I Ilya G. Active Member Licensed User Longtime User Nov 5, 2020 #1 Hi, why inner panel of clv is moved vertically? Attachments clv.zip clv.zip 3.3 KB · Views: 261
B Brian Dean Well-Known Member Licensed User Longtime User Nov 6, 2020 #2 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: Copy .. .. .. 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
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: Copy .. .. .. 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.