iOS Question Header row appearing on CustomListView

simonwilliamson

Member
Licensed User
The first item added to the CustomListView seems to be appearing slightly offset from the top. This has only just started to appear and is only happening in the B4i version (Java & Android renders correctly).

I have added a red border around the CLV and a green border around the CLV.sv for clarity. The blue header area is a Panel and not part of the CLV.

What could be causing this to happen?

IMG_E0054.JPG
 
Solution
Dear Lucas,

Thank you for your answer, although for me your solution didn't work. I changed the Horizonatal & Verticial Anchors back to Left & Top (from 100% Width & Height) and that seems to have fixed the issue.

Not sure the Anchor change should have made a difference but maybe it reset something.

I also have a SetLeftAndRight & SetTopAndBottom in the Script. Maybe they were affecting each other?

Anyway; Issue resolved.

Many thanks for your time.

Lucas Siqueira

Active Member
Licensed User
Longtime User
I also had a similar problem some time ago, the solution that erel recommended was to place the CLV inside a panel, that solved it for me.

 
Upvote 0

simonwilliamson

Member
Licensed User
Dear Lucas,

Thank you for your answer, although for me your solution didn't work. I changed the Horizonatal & Verticial Anchors back to Left & Top (from 100% Width & Height) and that seems to have fixed the issue.

Not sure the Anchor change should have made a difference but maybe it reset something.

I also have a SetLeftAndRight & SetTopAndBottom in the Script. Maybe they were affecting each other?

Anyway; Issue resolved.

Many thanks for your time.
 
Upvote 0
Solution
Top