Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QML ComboBox how set ElideNone



  • I've a problem with a ComboBox. The popup menu is big enough to show entire text, but when I select an item all text are elided. I wat to show always entire text, but I don't know what property I need to set to do it.
    This is combobox at program startup:
    alt text

    This is after I select an item:
    alt text

    This is my code:

    ComboBox {
        id: comboBox
        width: parent.width
        font.family: "Arial"
        model: ["Lorem ipsum dolor sit amet","Consectetur adipiscing elit"]
    }
    

Log in to reply