Hi Vinayakam,

2011/2/6 Vinayakam Murugan <[email protected]>:
> 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
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to