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

Blurry icon on custom button with IconLabel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15
    • Quick: Controls 2
    • None
    • Windows

      An icon displayed on a Button is blurry and changes depending on the size of the button.

      If a custom implementation is used with a wrapper item to position the IconLabel centered, this blurryness is gone.

      see attached example

      This seems to be a problem in the IconLabel implementation, where the position of the icon is not rounded to the full pixel.

        1. ButtonTest.zip
          44 kB
          Stefan Menzel
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            stefan_menzel Stefan Menzel
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes