cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
elongnec
Frequent Visitor

Datacard Height Bug

Hello, since the recent update to PowerApps, the height of all my datacards in my forms have been changed to 225 automatically. I manually changed them back to my required height, but every time I save and republish, the heights change back to 225. I attached pictures of what my form used to look like and what it now looks like.

Is there a bug in the new update? Or am I missing an important update in the editor?

1 ACCEPTED SOLUTION

Accepted Solutions
Mr-Dang-MSFT
Power Apps
Power Apps

@elongnec, I am not able to replicate your issue. Can you share more about the height that you set?

 

By default the height of the data cards is set to 50. Since datacards have flexible-height, think of this number as a minimum. You do not see the cards at 50 px though since the content inside is larger.

 

As a best practice, I would avoid changing the height and instead just use relative positioning of the controls inside to automatically dictate the height you desire.

View solution in original post

19 REPLIES 19
Mr-Dang-MSFT
Power Apps
Power Apps

@elongnec, I am not able to replicate your issue. Can you share more about the height that you set?

 

By default the height of the data cards is set to 50. Since datacards have flexible-height, think of this number as a minimum. You do not see the cards at 50 px though since the content inside is larger.

 

As a best practice, I would avoid changing the height and instead just use relative positioning of the controls inside to automatically dictate the height you desire.

Thank you! I switched to the best practice that you suggested, and the height issue is no longer a problem. 

I am runing to the same issue since yesterday.  Everything was working just fine before until yesterday I noticed this change when I published the app.  I have so many data cards in the form.  What do you mean by using best practice to "use relative positioning".  Do you have an example of that?  Also, is that mean I have change all the DataCards to the use relative positioning?  Please help!

 

Ben

Could you share how the form is configured?

  • Are there any formulas that affects the Visible property of data cards and controls in it? For example, some users might show the form but hide certain data cards based on some condition.
  • For the Label controls inside the affected data card, is autoheight enabled? What are the values of the Y and Height property on these controls?

By the way, relative positioning is just a general term for positioning controls based on the positions of other controls. For example, instead of specifying Y=50, one might use Y=Label1.Y+Label1.Height. This way, when Label1 moves, the other control will also be moved relative to it.

Can you also provide a screenshot of the affected form?

BN1
Regular Visitor

See attached examples of the datacards properties.  I tried both with autoheight On and Off same result.

Are you using the experimental components feature at all?

BN1
Regular Visitor

None of the Experimental Features is used.  All turned off.

We are currently investigating this. I will update the thread when more details emerge.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (5,477)