Jujuyeh / webapp-creator

Ubuntu Touch Webapp Creator
9 stars 4 forks source link

Reset Main Flickable when reseting fields #22

Open cibersheep opened 7 years ago

cibersheep commented 7 years ago

Use: flickable.flick(0,[main page height]) or something similar

mateosalta commented 7 years ago

https://stackoverflow.com/questions/7564558/qml-move-to-top-top

But I had to put it in Main.qml just after it loads that page - so it is reset before moving away from the page, but you only see it coming back.

https://github.com/mateosalta/webapp-creator/commit/5de7fa885efdee21117b68859f0fbf0d65ac4ab3