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 Platform Community / Forums / Power Apps / Auto Height of form Da...
Power Apps
Unanswered

Auto Height of form DataCardKeys (labels) not working

(0) ShareShare
ReportReport
Posted on by 572

I've seen a couple forum posts from over the years, but no definitive solution. I have a bunch of labels within a form that do not resize properly even though the auto height feature is enabled.  Since my app is responsive, if I resize the window to get my form to swap to a single column, then expand it back to this size, it works.

 

Any ideas?

JasonWS_0-1683293781825.png

 

Categories:
I have the same question (1)
  • Verified answer
    BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @JasonWS ,

     

    Looking at the screenshot the DataCardKeys are actually resizing correctly, but the DataCards are not. Do you reference DataCardKey.Height in the DataCard.Height property?

  • JasonZF Profile Picture
    572 on at

    Oooh good catch. I am not. The heights of the smaller cards were set to 50, but were actually showing as being 60 high, which is odd. I'll try out referencing the DataCardKey's height within a Max() function, so the cards stay at a minimum of 60. Example:

    Max(DataCardKey13.Height,60)

     

  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @JasonWS ,

     

    Glad to read this resolved your issue. Can you please mark the solution by clicking the 'Accept as Solution' button in the post that was key to find the answer so other members of the community can find it easier?

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard