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

Consolidate enum values for Image.fillMode and VectorImage.fillMode

    XMLWordPrintable

Details

    Description

      Compare the following:

       

      They have different names for the "no transform" mode: VectorImage.NoResize vs. Image.Pad. It would be good, from an API consistency point of view, to give them the same names (and aliases).

       

      I also notice that Image has Tile options while VectorImage doesn't, but I presume VectorImage has a reason for omitting these?

      Attachments

        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
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes