Hi there
I'm having a problem getting a transition to execute in QML once the page has been loaded.
Its very simple, just a bit of text that comes from the right and to the left when the app is launched.
I am able to do this by a mouseEvent trigger but not something like an "onload()".
Does anyone know of a way in which I can change the state of a component on load?
Code:states : State { name: "enter" //when: mouse.pressed == true // Works fine when: window.onload() // Doesn't seem to work PropertyChanges { target: allText; x: 100 } }

Reply With Quote

