Thanks.
I tried you code, thinking maybe the item initializtion played a part in it, but it stays exatly the same... hmm....
uiLarge.
listPort->setViewMode
(QListView::ListMode);
uiLarge.
listPort->addItem
(QString("ttyS0"));
uiLarge.
listPort->addItem
(QString("ttyS1"));
uiLarge.
listPort->addItem
(QString("ttyS2"));
uiLarge.
listPort->addItem
(QString("ttyS3"));
uiLarge.
listPort->addItem
(QString("ttyS4"));
uiLarge.listPort->setViewMode(QListView::ListMode);
uiLarge.listPort->addItem(QString("ttyS0"));
uiLarge.listPort->addItem(QString("ttyS1"));
uiLarge.listPort->addItem(QString("ttyS2"));
uiLarge.listPort->addItem(QString("ttyS3"));
uiLarge.listPort->addItem(QString("ttyS4"));
To copy to clipboard, switch view to plain text mode
It looks EXACTLY the same as before for me...
I hate such situations...
Thanks though!
The only difference is that my list is initializes in an ui faile...
Is there an propery in designer that might change this?
Bookmarks