Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

adjust template padding

I have searched high and low for this answer, but have been unsuccessful.  What is the formula to adjust the template padding of a gallery?  Please tell me which property to go into to do this along with the function, please.


I am trying to adjust the distance between data cards within a gallery.



Community Support
Community Support

Hi @valuehr,


I am not sure I fully understand your situation, but if you would like to make the distance between datacards to get clear,  then we could change the Height property of the Seperator within Gallery Control:


The Seperator comes with the Gallery control.

For the other Gallery property that may related to the padding, please check the following articles:

Gallery control in PowerApps

Show items of different heights in a PowerApps gallery




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for responding. I found the answer.


To change the template padding, it's actually on the Gallery tab.  Then under the Gallery tab, go to the properties list, and choose TemplatePadding. 


That changes it.



Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (76,172)