I've got a custom List view into which I load panels which look absolutely fine when I am using the list view in vertical scroll mode.
However, when I change to horizontal scroll mode, the width of the panels change to be about 1.5 times the width of the screen.
I've got code which sets the width of the panel to the width of the Custom List view -
and I have a variant in the Layout designer which matches the size of the device I am using but it still creates a panel which is too wide when in horizontal scroll mode.
Does anyone have any suggestions as to how to fix this?
Thank you.
JMB
However, when I change to horizontal scroll mode, the width of the panels change to be about 1.5 times the width of the screen.
I've got code which sets the width of the panel to the width of the Custom List view -
B4X:
newCellPanel.SetLayoutAnimated(10, 0, 0, clvSectorList.AsView.Width, Height)
and I have a variant in the Layout designer which matches the size of the device I am using but it still creates a panel which is too wide when in horizontal scroll mode.
Does anyone have any suggestions as to how to fix this?
Thank you.
JMB