Forums

OverviewFelgo 2 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support