Forums

OverviewFelgo 2 Support (Qt 5) › Drawer over navbar

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21231

    Ricardo Gomez

    I have an AppDrawer and it works great but how can I show it covering the navbar like native apps on android?

    #21234

    Günther
    Felgo Team

    The default AppDrawer coming with your App Navigation covers the whole screen:

    import Felgo 3.0
    
     App {
       Navigation {
         // enable both tabs and drawer for this demo
         // by default, tabs are shown on iOS and a drawer on Android
         navigationMode: navigationModeTabsAndDrawer
    
         NavigationItem {
           title: "Home"
           icon: IconType.home
    
           NavigationStack {
             Page {
              title: "Main Page"
             }
           }
         }
    
         NavigationItem {
           title: "Lists"
           icon: IconType.list
    
           NavigationStack {
             Page {
              title: "Lists"
             }
           }
         }
    
       }
     }
    

     

    Custom elements that should be able cover the whole screen can be placed within the App { } component.

    Best,
    Günther

Viewing 2 posts - 1 through 2 (of 2 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