Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QDeclarativeview zvalue problem
chaf84 last edited by
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?
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).