Add default-enabled grid lines to RDTreeView (and so RDTreeWidget)

This commit is contained in:
baldurk
2017-06-01 14:17:36 +01:00
parent 3076b4337b
commit 5c877ae1ae
3 changed files with 61 additions and 4 deletions
+1 -1
View File
@@ -604,7 +604,7 @@ PixelHistoryView::PixelHistoryView(ICaptureContext &ctx, ResourceId id, QPoint p
m_Model = new PixelHistoryItemModel(ctx, id, display, this);
ui->events->setModel(m_Model);
ui->events->setDrawBranches(false);
ui->events->hideBranches();
ui->events->header()->setSectionResizeMode(0, QHeaderView::Stretch);
ui->events->header()->setSectionResizeMode(1, QHeaderView::ResizeToContents);