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

Add per-corner Rectangle radius property

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Some future release
    • Quick: Other
    • None
    • All
    • ff923e86e (dev)

      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.

        For Gerrit Dashboard: QTBUG-94171
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes