Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Rounding Corners on a Rectangle - Canvas App

Posted on by

I cant find where to round a rectangle corner in a Canvas App? I can do it on a button, but not seeing it on a rectangle to create a border around content areas. Below are two examples of my design from the design tool, trying to recreate it in Power Apps, but not seeing how to round a corner. 

2.pngAnnotation 2020-02-19 172005.png

Categories:
  • JR-BejeweledOne Profile Picture
    JR-BejeweledOne 5,825 on at
    Re: Rounding Corners on a Rectangle - Canvas App

    You could also use a Text input in view mode since it has much of the same functionality as a label and you can set the border radius on it.

  • Verified answer
    Re: Rounding Corners on a Rectangle - Canvas App

    @mdevaneyI finally got it. toggling the button to "disabled" in "Display Mode" enabled me to control the border color and fill color without having the function control issues. So now it works 😉 

  • Re: Rounding Corners on a Rectangle - Canvas App

    @mdevaneyI noticed that the button has a "Display Mode" and "Disabled" "Edit" and "View" could this be part of the problem? 

  • Re: Rounding Corners on a Rectangle - Canvas App

    @mdevaneyAll the controls are unlocked by default. Nothing in Advanced is showing as locked. Still requires me to edit the function.

  • mdevaney Profile Picture
    mdevaney 30,012 on at
    Re: Rounding Corners on a Rectangle - Canvas App
    @Anonymous
    I think unlocking the button would work. Click on the Advanced Settings tab then unlock at the top of the menu.
  • Re: Rounding Corners on a Rectangle - Canvas App

    @mdevaneywhen I hover over the "pressed" and "hover" buttons in the panel the "fx" symbol appears and I can't seem to change those colors. 

     

    Any thoughts? 

  • mdevaney Profile Picture
    mdevaney 30,012 on at
    Re: Rounding Corners on a Rectangle - Canvas App
    @Anonymous
    I believe the HoverColor/Fill and the PressedColor/Fill are the properties you want to change. Make them the same color as the normal Color/Fill 🙂

    —-
    Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.
  • Re: Rounding Corners on a Rectangle - Canvas App

    @mdevaney Thanks for the tips, very helpful. 

     

    I started doing this and am having problems in the "preview" mode where on mouseover of the disabled button it changes color.

     

    Just trying to keep the center transparent and the border is fine as black for now. I have changed several toggles and fill colors but cant seem to get it right. 

     

    You mind giving me some advice on what toggle/color I should change so it becomes a dumb box please 🙂 

     

     

    Annotation 2020-02-20 105659.png

  • mdevaney Profile Picture
    mdevaney 30,012 on at
    Re: Rounding Corners on a Rectangle - Canvas App

    @Anonymous 

    The way I do this is to use a button control and changing the properties RadiusTopLeft, RadiusTopRight, RadiusBottomLeft, RadiusBottomRight all to 90.  Then I format all of the other properties to make it look like a label.  It feels wrong to because we call it a button but not all controls have the options for rounded corners.  We make due where we must!

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard