iOS Question CustomView and positioning

wl

Well-Known Member
Licensed User
Longtime User
I created an empty customview (I only set the background of the base panel to gray for testing purposes)

This customview was put onto another panel that resizes to fully fit the devices screen with both horizontal and vertical anchors to BOTH

It seems the customview is not respecting the anchors.
When I rotate the screen the Base_Resize event is triggered: OK, but:

when in portrait mode width = 385, height = 654
when in landscape mode: width = 371, height = 625

I find these values very strange.

Thanks
 

wl

Well-Known Member
Licensed User
Longtime User
Yes both anchors have been set to BOTH.

Attached the source code of the project using the CustomListView class (with which I have the same issue).

Problem might be caused by the fact that the CustomView/CustomListView is positioned onto a panel that is part of a scrollview that spans 2 panels ?
 

Attachments

  • b4i-client.zip
    7.9 KB · Views: 202
Upvote 0
Top