“QComboBox Pop-up” expanding and QtWebkit
问题 In Firefox/Chrome/InternetExplorer/Safari/Opera pop-ups from the combobox expand as the content, see Firefox picture: QComboBox pop-up does not expand the content. Pop-ups are limited by the size of QComboBox , see QWebView picture: So I implemented the QComboBox::showPopup : void newQComboBox::showPopup() { int width = this->width(); this->view()->setTextElideMode( Qt::ElideNone ); const int iconSize = this->iconSize().width(); const QFontMetrics fontMetrics = this->fontMetrics(); const int