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 / Auto Spacing the betwe...
Power Apps
Answered

Auto Spacing the between data cards when hidden/displayed on power apps

(0) ShareShare
ReportReport
Posted on by 433

Hello Power Users,

 

I'm building a canvas app with 4 columns and some of them with 3 based on the input filed. I have some rules to hide/visible such data cards and having some empty spaces when they are not visible. Tries using the X and Y to control them, but they're not working for multiple data cards.

 

I'm sure there would be a best way to handle this. Can anyone please suggest or help me in this?

 

Thanks in advance!

Categories:
  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    If you are using columns then setting visible on the card to false isn't enough. What you need to do is control the width of the card when its not visible and set it to 0. That will allow the next card to flow into its place.

  • KrishR Profile Picture
    433 on at

    Hi @Pstork1 ,

     

    Thank you so much for the quick response. It worked in some cases only. It's not working in case of replacing/overflowing different width data cards. 

    In this case do we need to set the width fit to Yes or No?

     

    Thank you so much!

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Since you are manually adjusting the width it needs to be set to No.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard