Hello,

I am revising the focus document and I noticed something unexpected.
Here is a sample code:

import QtQuick 1.0

Rectangle {
    width: 200; height: 200

    Column {
        FocusScope {
            Rectangle {width: 50; height: 50; color: "blue"}
        }

        FocusScope {
            Rectangle {width: 50; height: 50; color: "red"}
       }
    }
}

What I would like is to place these two FocusScope on top of each other, 
instead the rectangles will be in front of each other.
Removing the FocusScope element will do what I intended, but the addition of a 
FocusScope doesn't behave as (I, at least) expected.

This issue might come up when people start wrapping their components in 
FocusScopes and the element which imports these components may
not be aware of these FocusScope behaviors.

Any workarounds?

Cheers,
Jerome P.
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to