web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Spaces under Flexible Height Gallery Rows

(0) ShareShare
ReportReport
Posted on by

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
Categories:
I have the same question (0)
  • v-yutliu-msft Profile Picture
    on at
    Re: Spaces under Flexible Height Gallery Rows

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 671 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard