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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to Include Vertica...
Power Apps
Unanswered

How to Include Vertical Borders around Items in a Horizontal Gallery

(0) ShareShare
ReportReport
Posted on by 18

I have a Horizontal Gallery, where it displays different items for each row.

I am able to configure borders around each row by setting Gallery.Template Padding and Gallery.TemplateFill.

 

However, I find it impossible to set borders around each column.

Below are the methods I have tried:

1. Using Rectangle -> This solution will not work as it overlays above the Gallery items, causing hyperlinks in my icons to be unclickable.

JeremyTan_2-1715075951552.png


2. Using Borders around each item -> This solution did not work as the borders disappear when I mouse-hover above an icon.

JeremyTan_1-1715075922956.png


Can I get help on this please?

Categories:
I have the same question (0)
  • VishalJhaveri Profile Picture
    1,167 Moderator on at

    Create rectangled borders.

    Upon the icon, put invisible clickable buttons whose OnSelect event = OnSelect(IconName)

  • JeremyTan Profile Picture
    18 on at

    Thank you for your reply.

    From my understanding, your suggestion is to use rectangle shape, create a border around each item?

    As my Gallery list data changes, I don't think I can use fixed rectangular borders for each row of data for OnSelect events...

  • VishalJhaveri Profile Picture
    1,167 Moderator on at

    No, use Rectangle shapes as borders for the icons.

    On top of [Rectangle + ICON + Rectangle], create a BUTTON and place it on [Rectangle + ICON + Rectangle].

     

  • VishalJhaveri Profile Picture
    1,167 Moderator on at

    Did it work?

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Use your existing Option 1 that you already tried, but put the rectangles within the gallery item - a rectangle has an OnSelect function so you can make it perform the same actions that the current icon is performing

    - you can also make the HoverFill of a Rectangle a slightly transparent colour to make it obvious that it is an interactable:

    test rectangle.gif

    example colour I used was:

    RGBA(88, 77, 255, 0.3)

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard