Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Scrollable Screen Datacard Heights

I have various datacards in a canvas, each having its own form. THe forms have fields that are made visible and invisible on certain user inputs. I want my datacards to automatically change height to that of the visible form fields. Same goes for the Form height. I don't want these akward white spaces in the screen due to making provision for form heights and I also don't want to scroll in a datacard because that looks akward if you have 3 scroll bars in the same screen.

Community Support Team
Community Support Team

Re: Scrollable Screen Datacard Heights

Hi @gmaasz ,

I'm afraid there's no very good way to adjust form's height and datacard's height automatically for not using scrollable form.

For now, there's only "Width fit" setting about adjusting datacard's size.

However, it is used to adjust width, not height.

I suggest you express your views about adjusting height of form/datacard on PowerApps Ideas Forum. Your precious feedback will be very helpful for our work.


What's more, I've fighured out a little complex way to adjust form's height automatically, you could refer this:

ClearCollect(test,{value:Title_DataCard1.Visible},{value:CheckIn_DataCard1.Visible},{value:WorkingHours_Day_DataCard1.Visible},{value:cho_DataCard1.Visible},{valueSmiley Tongueeo_DataCard1.Visible},{value:dat_DataCard1.Visible},{value:cho2_DataCard1.Visible},{valueSmiley Surprisedld_DataCard1.Visible},{value:area_DataCard1.Visible})
//save the data of datacards' visible as a collection

Set the form's Height based on this collection:


Then, the form's height will adjust based on the number of datacards that are visible.



Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 72 members 2,990 guests
Please welcome our newest community members: