The range of all components (not just alpha) goes from 0 to 1. So
essentially you're maxing out all components -> the color is white.

Juha

On Thu, Sep 30, 2010 at 6:24 PM, Bartosh Wroblevksy <bart...@live.com>wrote:

>  *Hi,*
> *
> *
> *With Qt 4.7.0
> *
> *
>
> import Qt 4.7
>
> Rectangle {
>
>      width:100
>
>     height:100
>
>     color: Qt.rgba(73, 85, 56, 1)
>
>  }
>
>
> does not display the correct color. The rectangle is all white. What am I 
> doing wrong?
>
>
> Thanks,
> Bartosh
>
> *
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
>
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to