Skip to main content
Community site session details

Community site session details

Session Id : xHxr1YS8LP6PF+GLd2grPL
Power Apps - Building Power Apps
Answered

Data cards are taller than any element within them

Like (0) ShareShare
ReportReport
Posted on 25 Sep 2023 22:42:34 by 714 Moderator

Ok, so I was having a real challenge getting things to behave in a one column form. Trying to force two data cards to sit beside each other is seemingly impossible although I did get it to work once. 🙂

 

Realizing that what I was trying to accomplish was really a two column layout anyway, I switched to such and set it to snap to columns.

 

This is beautiful. Drag the data cards that need the width across both columns and tada.

 

BUT... in the 4th 'row' of the form, I have two data cards side by side, each in the appropriate column. There is nothing greater than 40pix in height in either data card. 

 

But both of those cards are setting their height to 122. If I manually set it to 40, it just reverts.

 

I cannot figure how why it's choosing to make the card as tall as it is.

Categories:
  • Verified answer
    DCHammer Profile Picture
    714 Moderator on 26 Sep 2023 at 15:59:05
    Re: Data cards are taller than any element within them

    So I solved it but have zero idea WHY it was failing in the first place.

    I have 2 cards side by side. X values are no problem and everything fits nicely.

    Both cards have their height value set to 40 and every element within the card is 40 or less.

    I manually starting removing every single reference value with a hard value.

    When I got to the error message the problem went away.

     

    Both cards had their Y position defined as Parent.Height - 10. This is the default Powerapps value for the error label control. As soon as I manually changed it to 30 the data card collapsed. 

     

    So riddle me that? LOL. 40-10=30 but not that 30. 

  • DCHammer Profile Picture
    714 Moderator on 26 Sep 2023 at 15:15:58
    Re: Data cards are taller than any element within them

    Absolutely I can and will. Just as soon as I figure out a way to do it without multiple screenshots.

  • Michael E. Gernaey Profile Picture
    46,546 Super User 2025 Season 2 on 25 Sep 2023 at 22:47:43
    Re: Data cards are taller than any element within them

    Can you share their properties please. Wondering if its set to auto anything

     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473