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) › Access to NavigationBar::style

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

    Kool

    Hi All,
    <div>For AppButtons I can access AppButton::style to change particular things about the style independent of the global Theme.</div>
    <div></div>
    <div>I need to center the text on NavigationBar::titleItem and I could do it by setting it from the global theme:</div>
    <div>

    Theme.navigationBar.titleAlignLeft = false

    But I only want it to apply to a particular instance of a NavigationStack/NavigationBar.

    It would be useful to have access to NavigationBar::style.

    </div>
    <div>Many thanks!</div>

    #17419

    Günther
    Felgo Team

    Hi Kool!

    You’re right, the NavigationBar theme only applies app-wide and is not changeable per NavigationStack instance.

    I added the feature to our list of future improvements – thanks for the suggestion!

    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.