Forums

OverviewV-Play 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 2 years, 9 months ago.
    #10922

    Alex
    V-Play 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.

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