-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 2.3.0-beta
-
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.
For Gerrit Dashboard: QTCREATORBUG-5683 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
2522,1 | QmlDesigner.propertyEditor: preserve alpha value | 2.3 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |