Compare commits
2 Commits
c2bc753363
...
703d2b4dd9
Author | SHA1 | Date |
---|---|---|
Reg Tiangha | 703d2b4dd9 | |
Reg Tiangha | 1e925bd5ea |
|
@ -475,6 +475,12 @@ void GameList::DonePopulating(const QStringList& watch_list) {
|
|||
item_model->sort(tree_view->header()->sortIndicatorSection(),
|
||||
tree_view->header()->sortIndicatorOrder());
|
||||
|
||||
// resize all columns except for Name to fit their contents
|
||||
for (int i = 1; i < COLUMN_COUNT; i++) {
|
||||
tree_view->resizeColumnToContents(i);
|
||||
}
|
||||
tree_view->header()->setStretchLastSection(true);
|
||||
|
||||
emit PopulatingCompleted();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue