Forums

OverviewFelgo 2 Support (Qt 5) › Theme components

Tagged: ,

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

    Валентина

    I’m trying to make custom components using theme components like ThemeAppButton, but nothing changes when I define styles inside onInitTheme: {
    ThemeNavigationBar.backgroundColor = “#000000”
    } //example
    And when I create ThemeAppButton {} Felgo live writes:

    “qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:180: ReferenceError: theme is not defined
    qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:173: ReferenceError: theme is not defined
    qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:119: ReferenceError: theme is not defined
    qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:112: ReferenceError: theme is not defined
    qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:105: ReferenceError: theme is not defined
    qrc:/qml/VPlayApps/styles/ThemeAppButton.qml:100: ReferenceError: theme is not defined


    After that my components looks the same as before.
    What should I do to make my components look completely different? Change Navigation bg color, remove divider, for example. Documentation has no examples.

    #23494

    Alex
    Felgo Team
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