QDeclarativeview zvalue problem



  • Hi
    I cant get the declarativeview to update when a object get a new value on z. The object has the right z when I look on it the debugger. If i change x or y the view updates the position immediately. I thought that x,y and z worked the same way. Anyone have an idea how to make the view update when z is changed?


  • Moderators

    The "z" value often works not in the way we mere mortals think about it :) This is mostly due to parent-child relationships of QObjects. Please verify whether moving the components about in the parent-child tree works or not (move your component declarations inside your QML file and see how it changes the behaviour and positioning).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.