Tour Preview

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) › How do I remove title bar from my application?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #21687

    sAMA SAMA

    I want to remove the title bar (not only the title string) from my application so I can implement my UI correctly, how do I do it?

    I use Felgo 3.0

    #21690

    Alex
    Felgo Team

    Hi,

    can you specify what “title bar” you are referring to? Is it the desktop title bar, or the navigation bar for a mobile application. You can also try searching online for solutions how this is done with Qt, as it will also be possible with Felgo.

    Cheers,
    Alex

    #21691

    sAMA SAMA

    I meant making my application frameless, without the default blue top bar.

    #21692

    sAMA SAMA

    Ok so I’ve finally found the solution, and apparently it’s named “navigation bar” not top bar but anyways I added the following to my app component:

    onInitTheme: {
             Theme.navigationBar.titleColor = "transparent"
             Theme.navigationBar.height = 0
           }

    I don’t know why the title color should be explicitly declared as transparent or if this is a solid way but it works for now!!

     

    #21696

    Günther
    Felgo Team
Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.