Hello,
I have a Flexible height vertical gallery in my canvas app and the gap between each items are perfect on Studio like shown below

But when I publish and test it on my mobile phone the gap is large like shown below:

My Template size property is below:

The height and width of the gallery is hard coded the way I want and these properties align perfectly on the mobile device.

In each item I have multiple labels, text box, radio button and finally 2 buttons on the bottom and their Y property is dynamic depending on another control's value and conditions.
Also I have Scale to Fit Turned on and Lock Aspect ratio turned off to make the app full screen on mobile device. With Aspect ratio turned on the flexible gallery works fine with perfect spacing but the issue starts only when Aspect ratio is turned off.
Any workaround to fix the gap between gallery items when Scale to Fit is on and Lock Aspect Ration Off