web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Gallery Checklist

(0) ShareShare
ReportReport
Posted on by 31

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

Categories:
I have the same question (0)
  • Meneghino Profile Picture
    6,949 on at

    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: 

    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. 

  • tzavertnik Profile Picture
    31 on at

    Menrghino - 

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

     

    PowerQuestionsIssueSS#2.PNG

     

    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.

  • v-micsh-msft Profile Picture
    on at

    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.

    Regards

  • hpkeong Profile Picture
    2,944 on at
    Hi

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard