Version : Qt 4.6.0
OS : Linux

I tried setting QComboBox Height.

Qt Code :
Qt Code:
  1. QComboBox *cbo = new QComboBox;
  2.  
  3. ....
  4.  
  5. cbo->clear();
  6. cbo->setModel(model);
  7. cbo->view()->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
  8. cbo->view()->setFixedHeight(100);
To copy to clipboard, switch view to plain text mode 
If it's code execute, then QComboBox's area overflowed in window screen.


Any suggestions?
( please show to me the short example ...
I'm beginer Qt.
)

Thanks.