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 / Auto Height of form Da...
Power Apps
Answered

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,636 Super User 2026 Season 1 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,636 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard