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,
volumelist->setSelectionMode(QAbstractItemView::SingleSelection);
volumelist->setColumnCount(3);
volumelist->header()->setResizeMode(0, QHeaderView::Stretch);
volumelist->header()->setStretchLastSection(false);
volumelist->header()->close();
QDialogButtonBox* buttons = new QDialogButtonBox();
......@@ -318,4 +320,4 @@ void WVselQt::list_add_item(char* str)
item->setText(i, items.at(i));
}
volumelist->addTopLevelItem(item);
}
\ No newline at end of file
}
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