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

Add per-corner Rectangle radius property

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Some future release
    • Quick: Other
    • None
    • 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

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              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