Make button shape like circle

How can I make the shape of a button like circle using border radius property ?


  • JohnHardmanJohnHardman GBUniversity mod

    @mostafamarji - If you know the size of your Button, set the BorderRadius to the Height/2 (assuming the Height is not greater than the Width)

  • WafflesWaffles USMember ✭✭

    I just want to expand on what John said because this problem was killing me the other day. There are plenty of nuget packages that will allow you to draw a circle or use a circleimage like XLabs. But if you wanna use ye olde Forms Button, the radius has to be half the size of the image. So if you've got a hardcoded width and height of 40, the radius will need to be 20, because its calculating on 4 corners and will wrap to the next corner. If you exceed 20 (or any size equivalent) it will start to act funny, becoming more of a diamond.


Sign In or Register to comment.