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.
  • S Offline
    S Offline
    shav
    wrote on 30 Apr 2017, 17:17 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
    • J Offline
      J Offline
      johngod
      wrote on 1 May 2017, 11:42 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
      • S Offline
        S Offline
        shav
        wrote on 1 May 2017, 15:57 last edited by
        #3

        Thanks for the reply! I will check the topic.

        Mac OS and iOS Developer

        1 Reply Last reply
        0

        1/3

        30 Apr 2017, 17:17

        • Login

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