| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 4 | |
After adding a really long item to a QComboBox, I cannot get it to resize with QComboBox::adjustSize() The combobox is contained within a QVBoxLayout, which is then part of a widget contained in a QHBoxLayout. Setting the HSizePolicy to Expanding doesn't seem to help either. Any ideas? The drop-down list is the correct size because setVariableWidth is true on the listBox. Thanks -- James Lamanna