https://bugs.kde.org/show_bug.cgi?id=479574

--- Comment #5 from Nicolas Fella <nicolas.fe...@gmx.de> ---
It depends on the type of model apparently.

This is broken:

import QtQuick
import QtQuick.Controls

Item {
    ComboBox {
        model: [
            {
                "label": "Small",
                "spacing": 0
            },
            {
                "label": "Normal",
                "spacing": 1
            },
            {
                "label": "Large",
                "spacing": 3
            },
        ]

        textRole: "label"
    }
} 


This works:

ComboBox {
    model: ["A", "B", "C"]
    currentIndex: 2
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to