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.
Hi, please see here if helps: https://powerapps.microsoft.com/en-us/blog/powerapps-560-update/, 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:
Please let me know if this works.
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.
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:
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.
Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.
Check out the new Power Platform Community Connections gallery!