Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › how to change NavigationStack default transitions ?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16843

    Jean-Marc

    I’ve just add a NavigationStack in NavigationItem (inside a TabControl) and the default transition is from bottom to top !
    But I need the usual “right to left” transition like for the other NavigationStack objects I’ve used elsewhere in my App !
    I can’t find how to choose the transition for the NavigationStack control !

    🙂

    #16848

    Günther
    Felgo Team

    Hi Jean-Marc,

    I’m unable to reproduce the issue – NavigationStack works fine with TabControl in my tests.

    Can you prepare a minimum example where the wrong transition is used and send it to support@felgo.com? (or add the code here as a reply if it’s a short sample).

    Best,
    Günther

    #16850

    Jean-Marc

    Thank you Günther,
    Actually while re-coding my nested navigation in a empty app, I finally found that in my full app, I’ve setup the Destkop launcher to “Android theme” so that’s why the transition is from “bottom to top”!!!
    Sorry for this confusion!
    Meanwhile, what if I need to setup the transition from “right to left” with pop() and “left to right” with push() even on Android?
    Like with the QT StackView control ( https://doc.qt.io/qt-5/qml-qtquick-controls2-stackview.html ) where default transitions can be modified (pushEnter, popEnter, pushExit…)… is it possible with the Felgo NavigationStack control?
    Best,
    Jim

    #16851

    Günther
    Felgo Team

    The NavigationStack uses the StackView internally and sets the default transitions that match the native transitions for iOS and Android. It is not possible to change these default transitions of NavigationStack at the moment. I followed up with via email regarding a feature request to make this possible.

    Cheers,
    Günther

    #16852

    Jean-Marc

    Yes I guess it’s a good thing to allow modifying the transitions for this control in a next update of Felgo!
    There’s no emergency but it’ll be cool if I can use this for my next app, and maybe in a future update of my current app.
    Thank you for your answers!

    Best,
    Jim

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded