Commit 37625570 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Change the stretch of columns in the volume selector.

parent 344f9e9e
...@@ -267,6 +267,8 @@ WVselQt::WVselQt(pwr_tStatus* status, void* wv_parent_ctx, ...@@ -267,6 +267,8 @@ WVselQt::WVselQt(pwr_tStatus* status, void* wv_parent_ctx,
volumelist->setSelectionMode(QAbstractItemView::SingleSelection); volumelist->setSelectionMode(QAbstractItemView::SingleSelection);
volumelist->setColumnCount(3); volumelist->setColumnCount(3);
volumelist->header()->setResizeMode(0, QHeaderView::Stretch);
volumelist->header()->setStretchLastSection(false);
volumelist->header()->close(); volumelist->header()->close();
QDialogButtonBox* buttons = new QDialogButtonBox(); QDialogButtonBox* buttons = new QDialogButtonBox();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment