QML ComboBoxStyle only background?



  • Is it intentional that the ComboBoxStyle only appears to be able to style the background element of the ComboBox.

    The following snippet styles a ComboBox (background) but how about the menu items?

    @
    style: ComboBoxStyle
    {
    background: Rectangle
    {
    color: "red"
    }

            label: Label
            {
                text: control.currentText
                color: "red"
            }
        }
    

    @


Log in to reply
 

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