[Qt-qml] Image Transparency
Vinayakam Murugan
mvinayakam at gmail.com
Sun Feb 6 14:36:06 CET 2011
Thanks, Thomas & Jason
Warm Regards
~~~~~~~~~~~~~~~
Vinayak
http://www.flickr.com/photos/rightplacerighttime/
On Sun, Feb 6, 2011 at 3:11 AM, Thomas Perl <th.perl at gmail.com> wrote:
> Hi Vinayakam,
>
> 2011/2/6 Vinayakam Murugan <mvinayakam at gmail.com>:
> > It worked with FocusScope. Though I would love to understand why it
> didn't
> > work.
>
> As Jason said, it's probably because a Rectangle has a background
> color, even if none is set (the default is white according to the
> docs). You could try with "Rectangle { color: "transparent" }", but
> just using Item in that case is probably easier (and faster?).
> Replacing "Rectangle" with "Item" should do the trick. As FocusScope
> inherits from Item, you also get the desired effect with FocusScope.
>
> HTH.
> Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110206/73339fc5/attachment.html
More information about the Qt-qml
mailing list