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

Don't restrict Rectangle's corner radii to half the size of the Rectangle

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Quick: Shapes
    • None

      If, for example, you have a 100x100 Rectangle, you can't set its topLeftRadius to 75. The corner radii are restricted to half the width/height.

      Obviously there is no inherent reason to not allow a 75px round on one corner, it's just an artifact of the current implementation, and it's quite frustrating.

      The drawing code should be improved to allow any arbitrary corner radii as long as they don't conflict. I would recommend just doing whatever HTML does, so it works as people expect.

       

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

            matthias_rauter Matthias Rauter
            mattsidefx Matt Chaput
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes