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

[REG 5.12->5.14] regression failure on button svg icon size scale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 5.14.1
    • 5.14.0
    • SVG Support
    • None
    • Android

      Button{
              id: button
              icon.name: "svg-image"
              icon.width:  24
              icon.height: 12
      }
      
      there is an svg image with size (24, 24).
      
      In application, the icon image size (24, 12) is demand, so we do it as above qml code.
      
      In qt5.13.0, it works perfectly and the icon is scale in height direction to (24, 12). 
      But in qt5.14.0, the icon is scale in both (width and height) directions, and the image size is (12,12).
      
      

        1. IconScalingTest.zip
          11 kB
          Mike Trahearn
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            bugman Vico Liang
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes