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

Set ElideMode of QComboBox used in WebKit



  • Hi,
    Webkit converts combo boxes on webpages into QComboBox and standard ElideMode is ElideMiddle.
    Is there any way to set ElideMode of QComboBoxes globally in programm? So it will use always ElideNone as standard behavior.



  • OK :) I found how to set ElideMode, But the problem is that the width of the shown list does not follow the text width.
    Any ideas?

    @QComboBox QAbstractItemView {
    qproperty-textElideMode: ElideNone
    }@


Log in to reply