On 06/16/2012 01:36 AM, [email protected] wrote: > Hello, > > I'm recently starting to use QML for an embedded system touch screen > interface. > > The general layout of the screen has a main square to the left and a control > area down the right side containing control buttons. Ascii art sketch 8-) : > > -------------------- > | | | > | | C | > | Main | n | > | | t | > | | l | > | | | > -------------------- > > When a button in the Cntl area is clicked, I'd like for the new contents of > the Main screen to slide in from the right, as if it were coming "out from > under" the Cntl rectangle. > > Everything I've tried so far causes the new content to animate over the > control rectangle. > > I'm basically anchoring new content.left to Main.right and animating the x > property with x:-main.width. > > Thank you for suggestions of the best way to perform this "hidden surface > removal" during animation...
If your Main object z property value is lower than cntl's, it should just work. If it does not, show us some code. /Harri _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
