Odd, it still doesn't work. Nothing appears to have changed. Just try compiling the following code:
#include <QtGui>
int main(int argc, char** argv) {
Sidebox->setWrapping(false);
Sidebox->show();
return app.exec();
}
#include <QtGui>
int main(int argc, char** argv) {
QApplication app(argc, argv);
QListWidget* Sidebox = new QListWidget;
Sidebox->setWrapping(false);
Sidebox->setMovement(QListView::Static);
new QListWidgetItem(QObject::tr("Test"), Sidebox);
new QListWidgetItem(QObject::tr("Hello world"), Sidebox);
Sidebox->show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Whether or not lines 8 and 9 are included makes no difference, the way the listwidget looks is the same.
Bookmarks