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 / PowerApps Form Height
Power Apps
Suggested Answer

PowerApps Form Height

(0) ShareShare
ReportReport
Posted on by 23
I hava added a form that has datacards which are visible dynamically based on the selection category.  I am not able to set the form height based on the datacards that are visible. is there a way to set the height so that scroll bar is not visible?
Categories:
I have the same question (0)
  • Suggested answer
    kasraouiah Profile Picture
    305 on at
    Hello, 
    i think that your form exist within a container, within container you can mange vertical scrollbar visibility throught LayoutOverflowY 
  • WarrenBelz Profile Picture
    153,408 Most Valuable Professional on at
    If you set the Height of the non-visible Data Cards to zero (when they are not visible)
    If(
       Self.Visible,
       0,
       TheNormalHeight
    )
    and assuming that when a card is not visible, the entire row is not visible, then you can add up the heights of the tallest data card in each row for the Height of the Form.
    DataCard1.Height + DataCard4.Height + DataCard8.Height + . . . .


    ​​​​​​​Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    Buy me a coffee
  • WarrenBelz Profile Picture
    153,408 Most Valuable Professional on at
     
    A quick follow-up to see if you received the answer you were looking for or if you need further assistance.

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn   
  • CU08111717-0 Profile Picture
    23 on at
    Thank you for your responses, It is working for a single column form. However, it is still displaying scrollbar for 2 columns form. If I set it based on last datacard height and Y it sets the form height sometimes but not consistently
     
  • WarrenBelz Profile Picture
    153,408 Most Valuable Professional on at
    If you want to dynamically hide Data Cards to alter the Form Height, you need to hide (or not) the entire row - Power Apps will not automatically "wrap" cards to the next line if there is space. Is this your issue or is it something else ?
     

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

#2
Kalathiya Profile Picture

Kalathiya 321

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 311 Super User 2025 Season 2

Last 30 days Overall leaderboard