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 / Spaces under Flexible ...
Power Apps
Unanswered

Spaces under Flexible Height Gallery Rows

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Considerations:

 

  • I'm using nested Gallery Controls to create a Collapsable Navigation menu. My first Gallery control is a Flexible Height Gallery and for each of its row, i've a Vertical gallery control for it.
  • I'm also using a 1923*1080 (width*heigh) Custom Screen Size for my application. (as shown in the attached AppSettingsScreenRes.PNG screenshot)

Issue that i'm running into:

 

My collapsable nav looks fine in the EDIT mode of the application (as shown in the attached NavInEditMode.PNG screenshot)

) but when i simply click on the application name to view the app in NON-EDIT Mode (not sure if this is the right term for it), i see blank empty spaces under each flexible height gallery row (as shown in the attached NavInDisplayMode.PNG screenshot). I'm guessing the stretched out screen res (1923*1080) for Non-Edit mode of the app could be causing that.

 

My question is: how do we fix it? (Given that the Flexible Height Gallery Control adjusts its row height as per its content). I've also noticed that the lenth of extra space (under each row) depends on the number of items in its nested vertical gallery control. If there are more items in the nested gallery, there's more space underneath it. Any thoughts?

 

Attribute values for my Flexible Height Gallery:

  • Height: 1080
  • Template Size: 65 (The spaces aren't affected if i try to change this)
  • Template Padding: 4

 Attribute values for my Nested Vertical Gallery:

  • Height: CountRows(ThisItem.NavSubItems)*NestedGallery.TemplateHeight
  • Template Size: 50
  • Template Padding: 0
AppSettingsScreenRes.PNG
NavInEditMode.PNG
NavInDisplayMode.PNG
Categories:
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    I suggest you turn this off:8305.PNG

     

    If you trun this setting on, the app's layout will automatically adjust based on condition, not the same as the layout that you set in edit mode.

     

     

    Best regards,

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 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard