cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
steven_wang
Level: Powered On

Gallery: scrolling picture/bar/icon

Hi guys,

 

On this page (https://web.powerapps.com/), we can see a lot of samples provided by Microsoft. In one of them, Inventory Management, we can see a gallery when we open this sample app, and we we scroll up/down, we can see that a red/grey/green bar will move with each item of the gallery. How do they implement this?

 

 

moving bar.PNG

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
mr-dang
Level 10

Re: Gallery: scrolling picture/bar/icon

Hi,

If I understand your question, you are asking why the bar moves with the gallery instead of being stationary on the Screen. 

 

The red/grey/green bar moves with each item of the Gallery because it is inside the Gallery and replicated for each record of the Gallery instead of being made individually outside of the Gallery.

 

So in your screenshot, the Gallery includes 4 records (4 rows in the database). Each row has data for the name of the item, its quantity in stock, and a LookUp that qualifies the quantity as low, average, good. When you add one button inside the Gallery, the button is repeated for each record using the information from the record. You can set conditions for the Fill of the button to change color based on the number.

Microsoft Employee
@8bitclassroom

View solution in original post

2 REPLIES 2
mr-dang
Level 10

Re: Gallery: scrolling picture/bar/icon

Hi,

If I understand your question, you are asking why the bar moves with the gallery instead of being stationary on the Screen. 

 

The red/grey/green bar moves with each item of the Gallery because it is inside the Gallery and replicated for each record of the Gallery instead of being made individually outside of the Gallery.

 

So in your screenshot, the Gallery includes 4 records (4 rows in the database). Each row has data for the name of the item, its quantity in stock, and a LookUp that qualifies the quantity as low, average, good. When you add one button inside the Gallery, the button is repeated for each record using the information from the record. You can set conditions for the Fill of the button to change color based on the number.

Microsoft Employee
@8bitclassroom

View solution in original post

steven_wang
Level: Powered On

Re: Gallery: scrolling picture/bar/icon

problem solved. Thanks!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 173 members 5,779 guests
Please welcome our newest community members: