Customizing QtQuick Controls styles



  • Hey,

    Is it possible, to create QtQuick Controls styles starting from a choosen existing style? For example, could I create a style based on the "Flat" style, but not use green (but a different color) everywhere?

    Best,
    Nathan


  • Moderators

    have you read this?



  • Yes, and I can create my own style. But I do not know how to base them on an existing style.

    When I create a ComboBox like this:

    Combobox {
        style: ComboBoxStyle {}
    }
    

    and run it on android, the ComboBox looks like a Desktop ComboBox. If I leave out the style, it looks good.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.