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 / Multiple galleries on ...
Power Apps
Answered

Multiple galleries on one screen with a scroll bar

(0) ShareShare
ReportReport
Posted on by 89

Hi all,

 

I am trying to create this layout on Power Apps Screen. The screen should have multiple galleries with a scroll bar on the right.

 

What is the best way to build this screen? I tried to use a vertical container but it does allow multiple rows. 

 

Please help!!

 

mseliot_0-1678925728713.png

 

Categories:
I have the same question (0)
  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Hi @mseliot 

     

    I don't know if putting that many Galleries in another gallery is a good idea... you may run into performance issues.  However, if you really want to do so, you can try this:

     

    1) Add a Flexible Height Gallery.  This will give you your scroll bar once the size exceeds your screen size.  In the below example, I have set the Gallery Width to Parent.Width, and Height to Parent.Height

    2) Nest your sub Galleries into the main Gallery by inserting them into the template for your main Gallery

    3) You will get the desired scroll bar once your content starts going off screen

     

    Here's an example:

    Rusk_0-1678927656043.png

     

    When using the app, the scroll bar is available:

    Rusk_1-1678927674875.png

     

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @mseliot ,

     

    You could set the parent gallery's wrap count to 4

    vbofengmsft_0-1678934527771.png

    Best Regards,

    Bof

     

  • mseliot Profile Picture
    89 on at

    Thank you Rusk!

     

    When I followed your instructions, I do see the sub-galleries repeat 4 times. 

     

    I created 12 sub-galleries under the main gallery as below. 

     

    mseliot_1-1678993019901.png

     

    When I click on the preview, the 12 galleries appear 4 times as below.

     

    mseliot_2-1678993163486.png

     

    Any clue why it is happening?

     

    Thanks!

    Eliot

     

  • mseliot Profile Picture
    89 on at

    Thank you Bof. If the wrap count is set 4, it repeats same gallery 4 times horizontally. (e.g. gallery1, gallery1, gallery1, gallery1). 

  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Try setting the main gallery template fill to a color, such as a light grey, and then adding a template padding of 10 or so.  That way you can see where the main gallery template begins and ends.  I'm guessing its something to do with the template size of your main gallery.

  • mseliot Profile Picture
    89 on at

     

    Hi Rusk,

     

    I set the main gallery height to parent.height as you mentioned. See the below. Is it something related to how I inserted the sub-galleries into the main gallery? Very strange..!

     

    mseliot_0-1679000365217.png

     

  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    So although your Gallery is the height / width of your screen, the template height is not as large as you want.  Try just dragging it, from that outline you see in your screenshot, all the way down to the bottom of the screen

  • Verified answer
    mseliot Profile Picture
    89 on at

    Thank you all! I figured the best way of achieving it. I added a scrollable screen (New Screen -> Template -> Scrollable) and inserted multiple galleries under Canvas - Datacard. It works like charm! No need to use nested galleries in this way!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard