Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Non Rectangular buttons

(0) ShareShare
ReportReport
Posted on by 150
Hi, 
I am creating a flow chart using a PowerApp with buttons and arrows as the flow chart shapes, so that when a user clicks on a button a pop up appears with more information. Does anyone know how to create the decision diamond shape?
I have had to import it as an image however this doesn't quite look the same as the other buttons.
 
Also I tried importing from Visio but couldn't get the popup desired functionality to work on individual buttons 
Thanks
 
Categories:
  • mmbr1606 Profile Picture
    11,991 Super User 2025 Season 1 on at
    Non Rectangular buttons
    Sorry wasnt aware of how the Symbol Looks Like, i just saw Diamond lol
  • MarkRahn Profile Picture
    973 Super User 2025 Season 1 on at
    Non Rectangular buttons
    Hi Ian,
     
    If you are going to mark your own answer to your own question as the solution, please provide the code so that others may benefit.
     
    For example, I was looking at your question and I was just about to post:
    - Screen2:
        Control: Screen
        Children:
        - btnDiamondOverlay:
            Control: Classic/Button
            Properties:
              Color: =RGBA(30, 30, 30, 1)
              Fill: =RGBA(56, 96, 178, 0)
              Height: =100
              HoverColor: =RGBA(0, 0, 0, 1)
              HoverFill: =ColorFade(RGBA(56, 96, 178, 0), -20%)
              Width: =100
              X: =256
              Y: =76
        - imgDiamond:
            Control: Image
            Properties:
              Image: ="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='50,0 100,50 50,100 0,50' style='fill:none;stroke:black;stroke-width:2' /></svg>"
              X: =256
              Y: =76
    
    This uses svg to create a diamond and has a transparent button over it that the user can click on.
     
    -Mark
  • Verified answer
    Ian_C Profile Picture
    150 on at
    Non Rectangular buttons
    Thanks, @mmbr1606 however that is not the standard visio flowchart symbol.

    I have gone with a .svg and overlayed the different text required on it. 

    It'll do but not quite as sharp as the OOTB buttons

  • Suggested answer
    mmbr1606 Profile Picture
    11,991 Super User 2025 Season 1 on at
    Non Rectangular buttons
    hey
     
     
    you could also choose the diamond icon and put whatever code u want into the onselect of that icon:
     
     
    if it helped please mark as verified answer.
     
     
    cheers
  • MD-15101537-0 Profile Picture
    7 on at
    Non Rectangular buttons
    You could get half way by using the diamond graphic for the background and then overlay a button with a transparent background and the required text.  The text then matches your other rectangular buttons.
  • realwillwright Profile Picture
    772 Super User 2025 Season 1 on at
    Non Rectangular buttons
    Hi
     
    Could you try using SVGs you can create the shapes within there. it would still have to be in the image control, but might look a bit better

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard