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) › 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.