Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Rectangle with custom corner radius.

QML Rectangle with custom corner radius.

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qmlqtquickqtquickcontrols
3 Posts 2 Posters 14.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • shavS Offline
    shavS Offline
    shav
    wrote on last edited by
    #1

    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?

    Mac OS and iOS Developer

    1 Reply Last reply
    1
    • johngodJ Offline
      johngodJ Offline
      johngod
      wrote on last edited by
      #2

      There are already somew topics like this, check here

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

      1 Reply Last reply
      0
      • shavS Offline
        shavS Offline
        shav
        wrote on last edited by
        #3

        Thanks for the reply! I will check the topic.

        Mac OS and iOS Developer

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved