Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5683

The "A" value of the color property in designer mode takes no effective.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 3.1.0-rc1
    • Qt Creator 2.3.0-beta
    • Quick Designer
    • None
    • [SDKTestRound17]
      Workstation platform: Linux Ubuntu 11.04
      Qt Creator Version: Qt Creator 2.2.83 (2.3.0-post-beta) Based on Qt 4.7.4 (32 bit) built on Aug 1 2011 at 01:21:14 From revision e21c7372ab
      Qt SDK Version: 1.1.2
    • 7e20b217db2d53456dbbcc19344402102cd97dd8

      Steps:
      1. Create a new .qml file and open it in designer mode.
      2. Add a "Rectangle" control to the canvas.
      3. Try to set the color to this "rectangle" and its border.
      4. Try to set the "A" value of the color property.

      Expected Result:
      The color of the rectangle in designer changes according the "a" value. change to editor mode, the color string should be in "ARGB" mode include the "a" value have set.

      Actually Result:
      If you set the "a" value to "0" for rectangle color, the color actually turned to "#000000". other values have no effective on the color.
      each value of "a" takes no effective on border.color.
      Change to editor mode to see the code. No "A" value include in the color string.

      Please refer to the attached pictures.

        1. Screenshot-8.png
          23 kB
          Yang Xiaoyong
        2. Screenshot-9.png
          153 kB
          Yang Xiaoyong
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thohartm Thomas Hartmann
            yanghxia Yang Xiaoyong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes