Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded