Forums

OverviewFelgo 2 Support (Qt 5) › Always have bottom navigation bar

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

    Kool

    Hi All,

    Looking at the Twitter and Component Showcase examples, I’ve noticed that, when switching from iOS to Android theme, the navigation bar at the bottom jumps from the bottom to a inside a menu button in the top left.

    Is there a way to always have the navigation bar at the bottom on all platforms?

    #16322

    Günther
    Felgo Team

    Hi Kool!

    Yes, depending on what look you are going for there are several options:

      Navigation {
        navigationMode: navigationModeTabs
        //
      }

    By setting the navigation mode to only tabs, the left menu is never used and on Android the native-styled tabs at the top are used.
    It is also possible to display these tabs at the bottom on all platforms with:

      Navigation {
        navigationMode: navigationModeTabs
        tabPosition: Qt.BottomEdge
    
         // ...
      }

    The third option is to use the iOS Theme for all platforms, which completely deactivates the Android-look.
    To  trigger the iOS look at app start for all platforms, use:

    App {  
      onInitTheme: {
        Theme.platform = "ios"
      }
      // ...
    }

    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