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

PowerApps Form Height

(0) ShareShare
ReportReport
Posted on by 26
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,781 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,781 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
    26 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,781 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

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard