OverviewFelgo 2 Support (Qt 5) › Center NavigationBar title item

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #16488


    Hi all,

    I’m wondering if it’s possible to center the NavigationBar title item? At the moment it’s pushed to the left and I’m wondering if it’s possible to center it.

    Minimal example:

    import Felgo 3.0
    import QtQuick 2.0
    GameWindow {
        id: gameWindow
        activeScene: scene
        screenWidth: 960
        screenHeight: 640
        Scene {
            id: scene
            width: 480
            height: 320
            NavigationBar {
                id: tabBar
                anchors {top:; left: scene.gameWindowAnchorItem.left; right: scene.gameWindowAnchorItem.right}
                backButtonVisible: true
                titleItem: AppText {
                    text: "Training"
                    color: Theme.backgroundColor

    Many thanks!


    Felgo Team

    Hi Kool!

    To match platform-specific UI guidelines, the title is e.g. displayed centered on iOS and left-aligned on Android. To always center the title, you can set:

          Theme.navigationBar.titleAlignLeft = false

    Günther from Felgo



    If that’s the platform-specific guideline for iOS vs Android, I’ll probably keep it as it is rather than always center.

    But it’s good to know.

    Thanks Gunther.

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
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support