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

Gallery Checklist

Newbe to PowerApps


I have created a vertical gallery to display a checklist which contains data from a SharePoint list. The value that can be displayed can have up to 250 characters. I was able to have the height for the value be dynamic by calucuating the number of lines needed based on the length of the value. However, when running the app in preview the text overlaps with the other values. 


It appears that the TemplateSize is the value. Is there a way to have that be flexible? Any help is appreciated. Thanks.


 Screenshot of text bleeding overScreenshot of text bleeding over

Community Champion
Community Champion

Hi, please see here if helps:, it shows how to implement in a gallery


Snappier HTML control with AutoHeight text property

HTML Text control can auto resize the height depending on the length of the text. This is huge improvement over the current control where the control size is fixed and can cause the content to be chopped. To use this feature, simply set AutoHeight to true in the HTML Text control.


I think a normal text box also has this property: 

AutoHeight – Whether a text box automatically increases its Height property if its Text property contains more characters than the control can show at one time. Applies to the Text box control


Please let me know if this works. 

Menrghino - 

Thank you for the suggestion. I have implemented it in my solution but the issue still exists.




I believe the issue is being caused because of the TemplateSize parameter associated with the Gallery. It appears that this has to have a value. I have tried Auto and true and it collapses the section and all of the text is on top of each other. I am not sure if there is a way to perform a calculation on how big the template should be based on the content that needs to be presented. That is going to be my next test.

Hi tzavertnik,


Apologize for the late response.

What is your current situation?

The AutoHeight properity in TextBox within the Gallery won't auto increase the height of the Gallery, and currently I can't find a way available to calculate the height based on the auto-generated height and the other text box height values.

Additionaly, the autoHeight is enabled by defualt in the item details screen. Would it be convenient for the users to check into the details if they would like to see the full contents?

Also there is another thread talking about this, please check and see if this would help:

AutoHeight combined with visibility not working correctly

I think we should submit an idea on this topic, once there is any text box insider the gallery enabled the autoheight, then change the templateSize value (or the other properity which is associated with the height) of 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.
Community Champion
Community Champion


I have attempted before like @tzartnik, hoping that changes (autoheight) of textboxes will automatically increase the Gallery Template Size based on no of textbox but in vain.

I found that,
- there is a limitation of the gallery height
- textbox will overlaps.

Hence, I decided to generate a Pagination Features, so that, the Gallery will be fill up of the exact no of textbox, and then page up and page down to view.

If this may help, you can refer to my Useful Features of PowerApps - Pagination.

Hopefully this can temporarily ease your work while awaiting better ideas or improvement to Powerapps.

Have a nice day.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,600)