Thanks for both of the replies referring me to the z property. My code is currently in the middle of a big transition to using a view manager architecture. As soon as I'm back to a working version I'll test setting the z property.
Thanks Again! johnea On 2012-06-16 01:45, Harri Pasanen wrote: > On 06/16/2012 01:36 AM, qt-...@johnea.net 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 > Qt-qml@qt.nokia.com > http://lists.qt.nokia.com/mailman/listinfo/qt-qml > _______________________________________________ Qt-qml mailing list Qt-qml@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-qml