cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ck25415
Post Patron
Post Patron

Label created under Gallery BUG

Hello,

I have created a label under gallery and replaced the text in it with a string value and doing that creates two lables with the same string value and I dont see the second label name in the tree.

 

The gallery layout is blank

 

How do i delete the other label?

 

 

727.JPG

 

Thanks,

 

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Thorpe
Super User
Super User

Are you sure the gallery doesn't have more than one item in it? When you add a label to a gallery it will automatically show on every item in the gallery but only show up once in the tree view. For a quick test you can add label to the screen (outside the gallery) and then change the text property to what is listed below. This will return the number of items in the gallery.

 

CountRows(Gallery2.AllItems)


--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Jeff_Thorpe
Super User
Super User

Are you sure the gallery doesn't have more than one item in it? When you add a label to a gallery it will automatically show on every item in the gallery but only show up once in the tree view. For a quick test you can add label to the screen (outside the gallery) and then change the text property to what is listed below. This will return the number of items in the gallery.

 

CountRows(Gallery2.AllItems)


--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

v-monli-msft
Community Support
Community Support

Hi @ck25415,

 

To edit controls inside a gallery control, you can only edit the first item inside the gallery. Actually by selecting inside gallery, you will find that only the first item of the gallery could be selected. The first item is the template of the gallery, which is on the left edge of a Gallery control in horizontal/landscape orientation and at the top of a Gallery control in vertical/portrait orientation. Any changes that you make in the template are reflected throughout the Gallery control.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Jeff,

 

Thank you, the filter did not work on the gallery so it showed two items which resulted in two labels.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,239)