Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › V-PLAY 2.6.1 / drawer Icon issue….

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10892

    Francois

    Hello,

    playing around with “Showcase” example, I get a behavior I don’t understand.

    I am working on OSX.

    From the original code, I did this change in ShowcaseMainPage.qml :

        //navigationMode: Theme.isDesktop ? navigationModeTabsAndDrawer : navigationModeDefault
        navigationMode: navigationModeDrawer
    

     

    Starting the app, click on the Drawer icon, go to a different page and then go back to widget page. The drawer Icon has disappeared. I don’t understand why ?

     

    Another thing: I don’t understand the purpose on this code :

        leftBarItem: navigation.drawerVisible
                     ? navigation.navDrawerButton
                     : null
    

    I can’t find any reference on navDrawerButton….

     

    Many thanks for your help.

     

    Best Regards.

     

    Scoob’

    • This topic was modified 5 years ago by  scooby.
    #10922

    Alex
    Felgo Team

    Hi Scoob,

    Yes, that seems to be a bug in the custom page that will be fixed with the next update, thanks.

    However, our recommended way of using a drawer and a content with navigation bar is to use the NavigationStack item within a Navigation item, the showcase sample should just demonstrate how to use the different widgets and might therefore be not the best example for using the app drawer.

    I would recommend to use the messaging sample as a starting point, you will instantly see that there is a lot less code involved for getting the same behavior.

    Best,

    Alex

    #10946

    Francois

    Hello Alex,

    Many thanks for your answer.

    If I find more bugs, do I have a discount ? 🙂

    Best Regards.

     

    Scoob’

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

RSS feed for this thread

You must be logged in to reply to this topic.