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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Label/HTML text Autohe...
Power Apps
Answered

Label/HTML text Autoheight not working with collection?

(0) ShareShare
ReportReport
Posted on by 711

I am having issues with the autoheight property of labels. If in a gallery I have a multiline label showing a multiline field from a powerapps entity it seems to work ok but sometimes text get truncated, f.e. only 2 of the 8 lines shown.

 

I tried using a html text control and set that up to look the same as the previous label but the porblem persists.

 

Since I notice the trouble powerapps sometimes has building the gallery and perhaps sometimes just stop trying if it takes to long I thought I was clever and just load the data in a collection first and set the items property of the gallery to that collection.

ClearCollect(
 ThisDierEvents;
 Filter(
 DierEvent;
 DocaDierId = Value(LblDocanummer.Text)
 )
)

Alas: now the autoheight property of the control just does not work anymore: all items are shown at the same height. I checked the relevant data: the autoheight of the html control is still on, the gallery type is still social media.

 

Is that to be expected? Why is that so? Is there any other way around it? 

Categories:
  • Verified answer
    HansHeintz Profile Picture
    711 on at

    Sorry. After I reverted all properties (set items back to the table and not the collection) autoheight still was not working. But when I closed powerapps and reopened it it was working again so probably some temporary malfunction in the edit session.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard