QML Rectangle with custom corner radius.



  • Hi everyone!

    I have a question about corner radius for components in QML. I know Rectangle has a special property for this, but this property create corner radius for all sides. In my case I need use corner radius only for one side: for example only for left (top left and bottom left), or right (top right and bottom right), or bottom (bottom left and bottom right), or top (top left and top right) but not for all of them.

    Some one know how I can do this?



  • There are already somew topics like this, check here

    https://forum.qt.io/topic/54033/rounded-corners-on-one-side-of-the-rectangle



  • Thanks for the reply! I will check the topic.


Log in to reply