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
 

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