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

Relax limits on corner radii in Rectangle

XMLWordPrintable

    • Foundation Sprint 110, Foundation Sprint 111

      The rectangles corner radii are limited to half the width and half the height. This made sense when all radii had to be the same before https://codereview.qt-project.org/c/qt/qtdeclarative/+/477301.

      However, since radii can be set individually, we can relax this limit to something like

      upper-left radius + upper-right radius < width
      upper-left radius + lower-left radius < height
      and so on...

      This increases the flexibility of rectangle substantially without increasing the code complexity.

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

            magdalenas Magdalena Stojek
            matthias_rauter Matthias Rauter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes