Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded