locked
Frame not rounding corners in UWP RRS feed

  • Question

  • User326618 posted

    I have an app that I am working on and have hit somewhat of a roadblock when it comes to designing the UI. The frames xaml does not seem to automatically cut of the corners of the child views on windows phones like it does on android and ios. I've attached pictures of this happening. I've run a couple of tests and I know that the frame in windows is indeed being drawn as well as the border that I expect to see. I set the IsClippedToBounds to true and I even ran tests by setting the frame's corner radius to 50 in xaml. Is there a way to get this working?

    Friday, May 26, 2017 9:31 PM

All replies

  • User261931 posted

    write example: CornerRadius="5"

    Friday, May 26, 2017 9:52 PM
  • User326618 posted

    @Awdos Here you go, CornerRadius="5".

    Friday, May 26, 2017 9:57 PM
  • User261931 posted

    are you using any renderer in uwp side ?

    Saturday, May 27, 2017 7:36 AM
  • User326618 posted

    On this page there is no custom renderer that is platform specific. What it does have is a custom view that extends the grid class so that it can dynamically make rows and columns

    Saturday, May 27, 2017 3:55 PM
  • User312280 posted

    @salvite Add OutlineColor and BackgroundColor to Frame. It's working fine for me, Have a look

    Wednesday, May 31, 2017 6:34 AM
  • User326618 posted

    @Sahadev_Gupta Unfortunately your solution does not work, I believe you did not make your padding = 0 and instead left it at the default of 20. Here are screenshots w/ backgroundcolor and outlinecolor set.

    Wednesday, May 31, 2017 4:24 PM
  • User68319 posted

    I have the same issue (( CornerRadius doesn't work in UWP (((

    Friday, October 6, 2017 8:53 AM
  • User223226 posted

    The same here. I confirm that CornerRadius doesn't work in UWP.

    Monday, February 5, 2018 4:08 PM
  • User251349 posted

    Do you have any update on this?

    Monday, April 9, 2018 1:49 PM
  • User241022 posted

    +1

    Wednesday, July 11, 2018 8:30 PM
  • User89714 posted

    What version(s) of Xamarin.Forms is/are the CornerRadius problem showing up in? I am using 2.4.0.38779 and have not seen any problems with Frame's CornerRadius on UWP.

    Wednesday, July 11, 2018 11:34 PM