Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94171

Add per-corner Rectangle radius property

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Some future release
    • Fix Version/s: None
    • Component/s: Quick: Other
    • Labels:
      None
    • Platform/s:
      All

      Description

      Rectangle currently has a radius property that acts on all four corners in the same way. There are designs that call for rectangles where only one or two corners are rounded. These currently require quite a bit of composing to get right. It would perhaps be beneficial if Rectangle would gain a `radii` grouped property, with sub-properties for all for corners individually. The current `radius` property can act as a default for all four, just like `anchors.margins` is the default value for all the other margin values that exist in anchors.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              andre André Somers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes